[
https://issues.apache.org/jira/browse/AMBARI-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13526750#comment-13526750
]
Tom Beerbower commented on AMBARI-1056:
---------------------------------------
{code}
{
"href" :
"http://localhost:8080/api/v1/clusters/c1/services/HDFS/components/NAMENODE?fields=ServiceComponentInfo",
"ServiceComponentInfo" : {
"PercentRemaining" : 90.02337,
"CapacityUsed" : 441280,
"state" : "STARTED",
"HeapMemoryUsed" : 174619856,
"service_name" : "HDFS",
"UpgradeFinalized" : true,
"HeapMemoryMax" : 1006632960,
"DecomNodes" : "{}",
"Safemode" : "",
"CapacityRemaining" : 47572566016,
"StartTime" : 1354641528204,
"Version" : "1.1.1.1, r",
"BlocksTotal" : 54,
"LiveNodes" :
"{\"dev.hortonworks.com\":{\"usedSpace\":441280,\"lastContact\":0}}",
"component_name" : "NAMENODE",
"PercentUsed" : 8.350508E-4,
"TotalFiles" : 85,
"NonDfsUsedSpace" : 5271680064,
"MissingBlocks" : 0,
"cluster_name" : "c1",
"desired_configs" : { },
"UnderReplicatedBlocks" : 40,
"CapacityTotal" : 52844687360,
"CorruptBlocks" : 0,
"DeadNodes" : "{}"
}
}
{code}
> Expose CapacityRemaining JMX metric to NAMENODE ServiceComponentInfo
> ---------------------------------------------------------------------
>
> Key: AMBARI-1056
> URL: https://issues.apache.org/jira/browse/AMBARI-1056
> Project: Ambari
> Issue Type: Sub-task
> Reporter: Tom Beerbower
> Assignee: Tom Beerbower
> Attachments: AMBARI-1056-2.patch, AMBARI-1056.patch
>
>
> Expose the following from "NameNodeInfo" JMX to ServiceComponentInfo for use
> in calculating Capacity:
> "NonDfsUsedSpace" : 3193769983,
> "PercentUsed" : 0.6558396,
> "PercentRemaining" : 46.532307,
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira