[ 
https://issues.apache.org/jira/browse/HDFS-7875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14375203#comment-14375203
 ] 

Harsh J commented on HDFS-7875:
-------------------------------

The new error looks better, but do you feel its possible to also print the # of 
currently configured volumes, to add further context into the error?

Also two nits:

1. "configurd" -> "configured"
2. "Value configured is either 0" -> "Value configured is either less than 0" 
(0 is a valid value)

> Improve log message when wrong value configured for 
> dfs.datanode.failed.volumes.tolerated 
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-7875
>                 URL: https://issues.apache.org/jira/browse/HDFS-7875
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>            Reporter: nijel
>            Assignee: nijel
>            Priority: Trivial
>         Attachments: 0001-HDFS-7875.patch, 0002-HDFS-7875.patch, 
> 0003-HDFS-7875.patch
>
>
> By mistake i configured dfs.datanode.failed.volumes.tolerated equal to the 
> number of volume configured. Got stuck for some time in debugging since the 
> log message didn't give much details.
> The log message can be more detail. Added a patch with change in message.
> Please have a look



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to