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

Surendra Singh Lilhore commented on HDFS-14169:
-----------------------------------------------

[~ayushtkn], Default value for metrics should be 0 not -1.

> RBF: Correct the returned value in case of IOException in 
> NamenodeBeanMetrics#getFederationMetrics
> --------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-14169
>                 URL: https://issues.apache.org/jira/browse/HDFS-14169
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-14169-HDFS-13891-01.patch
>
>
> Presently in case of IOException the the metrics value returned is 0 which is 
> a legal entry.Better to change to a value which could indicate that the value 
> hasn't been actually fetched.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to