daimin created HDFS-16509:
-----------------------------

             Summary: Fix decommission UnsupportedOperationException: Remove 
unsupported
                 Key: HDFS-16509
                 URL: https://issues.apache.org/jira/browse/HDFS-16509
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
    Affects Versions: 3.3.2, 3.3.1
            Reporter: daimin
            Assignee: daimin


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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to