[ https://issues.apache.org/jira/browse/HDFS-14169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16732306#comment-16732306 ]
Íñigo Goiri commented on HDFS-14169: ------------------------------------ The idea of -1 was because there were some unimplemented metrics in federation. For errors it might make sense to make it 0 and for unimplemented -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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org