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

Enis Soztutar updated HADOOP-1224:
----------------------------------

    Attachment: DFSBrowsingDeadNode_v1.0.patch

This patch 
1.changes randomDataNode() so that it will skip deadnodes and decommissioned 
nodes. Starts with a random data node and checks the data nodes sequentially 
until a live node is found. 
2.changes the return type of the getDatanodeByIndex() from DatanodeInfo to 
DatanodeDescriptor. 



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