[ https://issues.apache.org/jira/browse/HDFS-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071287#comment-13071287 ]
Tanping Wang commented on HDFS-2203: ------------------------------------ I just checked out HDFS source and did a build on my local box. I am able to see "BlocksTotal" and "CapacityTotal" attributes from the bean named, "Hadoop:service=NameNode,name=FSNamesystemState" : {noformat} { "name" : "Hadoop:service=NameNode,name=FSNamesystemState", "modelerType" : "org.apache.hadoop.hdfs.server.namenode.FSNamesystem", "CapacityTotal" : 152897236992, "CapacityUsed" : 24576, "CapacityRemaining" : 69198626816, "TotalLoad" : 1, "BlocksTotal" : 0, "FilesTotal" : 1, "PendingReplicationBlocks" : 0, "UnderReplicatedBlocks" : 0, "ScheduledReplicationBlocks" : 0, "FSState" : "Operational", "NumLiveDataNodes" : 1, "NumDeadDataNodes" : 0 }, {noformat} As far as I remebered, the JMXJsonServlet was checked into trunk. So it should be available to 0.23. release. > 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: name-node > Affects Versions: 0.20.204.0, 0.20.205.0, 0.23.0 > Reporter: Charles Wimmer > Priority: Minor > Labels: newbie > > 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 is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira