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

Tsz Wo (Nicholas), SZE commented on HADOOP-6216:
------------------------------------------------

How about changing line.startsWith("#") to line.trim().startsWith("#")?  Also, 
could you use our [Coding 
Style|http://wiki.apache.org/hadoop/CodeReviewChecklist]?

> HDFS Web UI displays comments from dfs.exclude file and counts them as dead 
> nodes
> ---------------------------------------------------------------------------------
>
>                 Key: HADOOP-6216
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6216
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>            Reporter: Jim Huang
>            Assignee: Ravi Phulari
>         Attachments: HDFS-1.patch
>
>
> 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.

Reply via email to