You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2007/04/07 00:52:32 UTC

[jira] Created: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

"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


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.


[jira] Updated: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Patch Available  (was: Reopened)

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


[jira] Commented: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489368 ] 

Hadoop QA commented on HADOOP-1224:
-----------------------------------

Integrated in Hadoop-Nightly #60 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/60/)

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


[jira] Commented: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493787 ] 

Konstantin Shvachko commented on HADOOP-1224:
---------------------------------------------

+1

> "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, DFSBrowsingDeadNode_v1.2.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.


[jira] Updated: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Patch Available  (was: Open)

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


[jira] Commented: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493435 ] 

Konstantin Shvachko commented on HADOOP-1224:
---------------------------------------------

It is confusing if a data-node can be neither dead nor alive. In your patch
   isDatanodeDead() =/= ! isDatanodeLive()
The patch should merely add "!" imo.

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


[jira] Commented: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488753 ] 

dhruba borthakur commented on HADOOP-1224:
------------------------------------------

+1. Code looks good.

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


[jira] Reopened: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko reopened HADOOP-1224:
-----------------------------------------


Now its even worse, we select ONLY! dead nodes.
        if (d != null && !d.isDecommissioned() && isDatanodeDead(d) &&
            !d.isDecommissionInProgress()) {
          return d.getHost() + ":" + d.getInfoPort();
Did anybody ever actually tried to click the link?


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


[jira] Commented: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Updated: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-1224:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I've just committed this. Thanks Enis!

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


[jira] Updated: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-1224:
---------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.  Thanks, Enis!

> "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, DFSBrowsingDeadNode_v1.2.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.


[jira] Updated: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
     [ 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.1.patch

This patch applies to current trunk(534354). Fixes the bug in [forgotten!] negation in check in isDataNodeDead(), introduces a function 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.


[jira] Commented: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493044 ] 

Hadoop QA commented on HADOOP-1224:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12356611/DFSBrowsingDeadNode_v1.1.patch applied and successfully tested against trunk revision r534234.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/100/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/100/console

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


[jira] Commented: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493089 ] 

Tom White commented on HADOOP-1224:
-----------------------------------

Thanks Enis. Have you manually tested this latest patch as Konstantin suggests?

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


[jira] Commented: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494260 ] 

Hadoop QA commented on HADOOP-1224:
-----------------------------------

Integrated in Hadoop-Nightly #82 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/82/)

> "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, DFSBrowsingDeadNode_v1.2.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.


[jira] Commented: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488671 ] 

Hadoop QA commented on HADOOP-1224:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12355503/DFSBrowsingDeadNode_v1.0.patch applied and successfully tested against trunk revision r528230.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/43/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/43/console

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


[jira] Commented: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493540 ] 

Tom White commented on HADOOP-1224:
-----------------------------------

> The patch should merely add "!" imo.

+1

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


[jira] Commented: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493302 ] 

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

Finally, i was able to test the patch. 
Manually i have set up a cluster with 2 DN and one NN. 
After intentionally killing one DN, or decommisioning one DN, browsing worked as expected. Sorry for the previously untested version :)

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


[jira] Updated: (HADOOP-1224) "Browse the filesystem" link pointing to a dead data-node

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
     [ 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.2.patch

one line patch that adds "!" . 



> "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, DFSBrowsingDeadNode_v1.2.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.