[ https://issues.apache.org/jira/browse/HDFS-16509?focusedWorklogId=756869&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-756869 ]
ASF GitHub Bot logged work on HDFS-16509: ----------------------------------------- Author: ASF GitHub Bot Created on: 14/Apr/22 08:18 Start Date: 14/Apr/22 08:18 Worklog Time Spent: 10m Work Description: jojochuang commented on PR #4077: URL: https://github.com/apache/hadoop/pull/4077#issuecomment-1098838363 Cherrypicked cleanly and pushed to branch-3.3. The patch doesn't apply in branch-3.2 though (due to the renaming of decommission manager class) and will require a new PR to resolve code conflicts. Issue Time Tracking ------------------- Worklog Id: (was: 756869) Time Spent: 3h 10m (was: 3h) > 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.1, 3.3.2 > Reporter: daimin > Assignee: daimin > Priority: Major > Labels: pull-request-available > Fix For: 3.4.0 > > Time Spent: 3h 10m > Remaining Estimate: 0h > > 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