hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lohit Vijayarenu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3757) HDFS Web UI displays comments from dfs.exclude file and counts them as dead nodes
Date Mon, 14 Jul 2008 22:14:31 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613469#action_12613469
] 

Lohit Vijayarenu commented on HADOOP-3757:
------------------------------------------

This happens because hostsReader::excludes is added to the report in FSNamesystem::getDatanodeListForReport
{noformat}
 for (Iterator<String> it = hostsReader.getExcludedHosts().iterator(); 
           it.hasNext();) {
        mustList.put(it.next(), "");
      }
{noformat}

When dfs.exclude.file is parsed, they are just added to internal array list without validating.
We should cleanup the list in refreshNodes(). 


> HDFS Web UI displays comments from dfs.exclude file and counts them as dead nodes
> ---------------------------------------------------------------------------------
>
>                 Key: HADOOP-3757
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3757
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.16.2, 0.17.0, 0.17.1
>            Reporter: Jim Huang
>
> I am putting comments in dfs.exclude file such as:
> {noformat}
>  # 32 GB memory upgrades
> {noformat}
> HDFS Web UI counts each word in the commented line as a dead node.

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


Mime
View raw message