[
https://issues.apache.org/jira/browse/HDFS-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14536239#comment-14536239
]
Haohui Mai commented on HDFS-2203:
----------------------------------
I believe that percentage should be calculated on the client side instead --
the client has more information to determine about format, precisions, etc.
Note that the NN Web UI has taken this approach and worked reliably.
Given that any fields added in the JMX output have compatibility concerns, and
most of the proposed information is available through JMX today, I'm closing
this one as won't fix.
> Add additional fields to the JMX output on NameNode
> ---------------------------------------------------
>
> Key: HDFS-2203
> URL: https://issues.apache.org/jira/browse/HDFS-2203
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Affects Versions: 0.20.204.0, 0.20.205.0, 0.23.0
> Reporter: Charles Wimmer
> Assignee: Tanping Wang
> Priority: Minor
> Labels: BB2015-05-RFC, newbie
> Attachments: HDFS-2203-2.patch, HDFS-2203.patch
>
>
> When accessing the JMX data via http (http://namenode:50070/jmx) there are a
> couple of useful fields missing from this bean:
> "name" : "Hadoop:service=NameNode,name=NameNodeInfo",
> "modelerType" : "org.apache.hadoop.hdfs.server.namenode.FSNamesystem",
> Please add the number of blocks and the configured capacity.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)