Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16509

Fix decommission UnsupportedOperationException: Remove unsupported

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      We encountered an "UnsupportedOperationException: Remove unsupported" error when some datanodes were in decommission. The reason of the exception is that datanode.getBlockIterator() returns anĀ Iterator does not support remove, however DatanodeAdminDefaultMonitor#processBlocksInternal invokesĀ it.remove() when a block not found, e.g, the file containing the block is deleted.

      Attachments

        Activity

          People

            cndaimin daimin
            cndaimin daimin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4h
                4h