You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Tom Beerbower (JIRA)" <ji...@apache.org> on 2012/12/07 11:51:20 UTC
[jira] [Commented] (AMBARI-1056) Expose CapacityRemaining JMX
metric to NAMENODE ServiceComponentInfo
[ https://issues.apache.org/jira/browse/AMBARI-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13526305#comment-13526305 ]
Tom Beerbower commented on AMBARI-1056:
---------------------------------------
{code}
http://localhost:8080/api/v1/clusters/c1/services/HDFS/components/NAMENODE?fields=ServiceComponentInfo
{code}
{code}
{
"href" : "http://localhost:8080/api/v1/clusters/c1/services/HDFS/components/NAMENODE?fields=ServiceComponentInfo",
"ServiceComponentInfo" : {
"BlocksTotal" : 73,
"PercentRemaining" : 90.13458,
"LiveNodes" : "{\"dev.hortonworks.com\":{\"usedSpace\":448760,\"lastContact\":0}}",
"CapacityUsed" : 448760,
"component_name" : "NAMENODE",
"state" : "STARTED",
"TotalFiles" : 80,
"PercentUsed" : 8.4920553E-4,
"HeapMemoryUsed" : 77588264,
"NonDfsUsedSpace" : 5212899080,
"service_name" : "HDFS",
"HeapMemoryMax" : 1006632960,
"UpgradeFinalized" : true,
"MissingBlocks" : 0,
"cluster_name" : "c1",
"Safemode" : "",
"DecomNodes" : "{}",
"desired_configs" : { },
"UnderReplicatedBlocks" : 39,
"CapacityTotal" : 52844687360,
"StartTime" : 1354641528204,
"Version" : "1.1.1.1, r",
"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.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