[ https://issues.apache.org/jira/browse/HDFS-11034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589341#comment-15589341 ]
Chris Nauroth commented on HDFS-11034: -------------------------------------- We can add a new dfsadmin command to clear this state. It's important to note that for some operations workflows, it's valuable to retain the decommissioned node information. If the operator is working on a series of decommission/recommission steps, then this information is valuable to see which nodes are still remaining in decommissioned state. That likely means that the command line needs to accept an argument for a specific host instead of just blindly clearing all decommissioned node information. Remember to clear from both NameNodes in an HA pair. > Provide a command line tool to clear decommissioned DataNode information from > the NameNode without restarting. > -------------------------------------------------------------------------------------------------------------- > > Key: HDFS-11034 > URL: https://issues.apache.org/jira/browse/HDFS-11034 > Project: Hadoop HDFS > Issue Type: Improvement > Components: namenode > Reporter: Chris Nauroth > > Information about decommissioned DataNodes remains tracked in the NameNode > for the entire NameNode process lifetime. Currently, the only way to clear > this information is to restart the NameNode. This issue proposes to add a > way to clear this information online, without requiring a process restart. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org