[ 
https://issues.apache.org/jira/browse/HDFS-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863509#action_12863509
 ] 

Allen Wittenauer commented on HDFS-1125:
----------------------------------------

I've seen this as well.

The basic premise is that you are removing a node from the grid permanently.  
So you:

a) add node to dfs.hosts.exclude
b) dfsadmin -refreshNodes
c) wait for decom to finish
d) remove node from both dfs.hosts and dfs.hosts.exclude

If you check the web UI and dfsadmin -report, it is still listed as valid.

> Removing a datanode (failed or decommissioned) should not require a namenode 
> restart
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-1125
>                 URL: https://issues.apache.org/jira/browse/HDFS-1125
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20.2
>            Reporter: Alex Loddengaard
>            Priority: Minor
>
> I've heard of several Hadoop users using dfsadmin -report to monitor the 
> number of dead nodes, and alert if that number is not 0.  This mechanism 
> tends to work pretty well, except when a node is decommissioned or fails, 
> because then the namenode requires a restart for said node to be entirely 
> removed from HDFS.  More details here:
> http://markmail.org/search/?q=decommissioned%20node%20showing%20up%20ad%20dead%20node%20in%20web%20based%09interface%20to%20namenode#query:decommissioned%20node%20showing%20up%20ad%20dead%20node%20in%20web%20based%09interface%20to%20namenode+page:1+mid:7gwqwdkobgfuszb4+state:results
> Removal from the exclude file and a refresh should get rid of the dead node.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to