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

Dmytro Molkov commented on HADOOP-6216:
---------------------------------------

What about adding inline comments handling?
You could just perform the startsWith("#") in the for loop iterating through 
the String[] nodes, breaking on the # to get the next line.

> 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: HADOOP-6216.patch, HADOOP-6216.patch, 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