[ 
https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493606
 ] 

Enis Soztutar commented on HADOOP-1224:
---------------------------------------

The confusing thing here, IMO, is that the admin status of the datanode, can be 
either NORMAL, DECOMMISIONED or DECOMMISSION_IN_PROGRESS, and if the admin 
state is normal, it can be either dead or "not dead". So a data node, from the 
perspective of  the end user, can be in one of the four states : live, dead, 
decommissioned or decommission_in_progress. Thus isDatanodeDead() =/= ! 
isDatanodeLive(). 

> "Browse the filesystem" link pointing to a dead data-node
> ---------------------------------------------------------
>
>                 Key: HADOOP-1224
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1224
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.3
>            Reporter: Konstantin Shvachko
>             Fix For: 0.13.0
>
>         Attachments: DFSBrowsingDeadNode_v1.0.patch, 
> DFSBrowsingDeadNode_v1.1.patch
>
>
> On the NameNode status web page "Browse the filesystem" link can point to a 
> dead data-node.
> The reason for that is that FSNamesystem.randomDataNode() selects a random 
> node from the
> list of all nodes rather then selecting among alive nodes only.

-- 
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