[
https://issues.apache.org/jira/browse/HDFS-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tanping Wang updated HDFS-2203:
-------------------------------
Attachment: HDFS-2203.patch
Added more metrics for each live datanode into the bean named,
"Hadoop:service=NameNode,name=NameNodeInfo".
Here is an example of the returned JMX jason string,
{noformat}
"LiveNodes" :
"{\"gsbl90593.blue.ygrid.yahoo.com\":{\"bpUsed(GB)\":\"0.01\",\"remainigPercentage\":\"98.89\",\"lastContact\":0,\"volumeFailures\":0,\"bpUsedPercentage\":\"0\",\"nonDFSUsed(GB)\":\"9.94\",\"usedPercentage\":\"0\",\"blocks\":11593,\"usedSpace(GB)\":\"0.01\",\"remaining(GB)\":\"884.65\",\"adminState\":\"In
Service\",\"capacity(GB)\":\"894.59\"},\"gsbl90594.blue.ygrid.yahoo.com\":{\"bpUsed(GB)\":\"0.01\",\"remainigPercentage\":\"98.84\",\"lastContact\":0,\"volumeFailures\":0,\"bpUsedPercentage\":\"0\",\"nonDFSUsed(GB)\":\"10.38\",\"usedPercentage\":\"0\",\"blocks\":11627,\"usedSpace(GB)\":\"0.01\",\"remaining(GB)\":\"884.2\",\"adminState\":\"In
Service\",\"capacity(GB)\":\"894.59\"}}",
{noformat}
> 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
> Assignee: Tanping Wang
> Priority: Minor
> Labels: newbie
> Attachments: 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira