[
https://issues.apache.org/jira/browse/AMBARI-2762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13724137#comment-13724137
]
Tom Beerbower commented on AMBARI-2762:
---------------------------------------
More info ...
The resulting Queue metrics should look something like this for the queue
hierarchy...
{code}
GET api/v1/clusters/c1/services/YARN/components/RESOURCEMANAGER
...
"yarn" : {
"Queue" : {
"root" : {
"ActiveApplications" : 0,
"ActiveUsers" : 0,
"AggregateContainersAllocated" : 6,
"AggregateContainersReleased" : 6,
"AllocatedContainers" : 0,
"AllocatedMB" : 0,
"AllocatedVCores" : 0,
"AppsCompleted" : 2,
"AppsFailed" : 0,
"AppsKilled" : 0,
"AppsPending" : 0,
"AppsRunning" : 0,
"AppsSubmitted" : 2,
"AvailableMB" : 8192,
"AvailableVCores" : 1,
"PendingContainers" : 0,
"PendingMB" : 0,
"PendingVCores" : 0,
"ReservedContainers" : 0,
"ReservedMB" : 0,
"ReservedVCores" : 0,
"running_1440" : 0,
"running_300" : 0,
"running_60" : 0,
"default" : {
"ActiveApplications" : 0,
"ActiveUsers" : 0,
"AggregateContainersAllocated" : 6,
"AggregateContainersReleased" : 6,
"AllocatedContainers" : 0,
"AllocatedMB" : 0,
"AllocatedVCores" : 0,
"AppsCompleted" : 2,
"AppsFailed" : 0,
"AppsKilled" : 0,
"AppsPending" : 0,
"AppsRunning" : 0,
"AppsSubmitted" : 2,
"AvailableMB" : 8192,
"AvailableVCores" : 1,
"PendingContainers" : 0,
"PendingMB" : 0,
"PendingVCores" : 0,
"ReservedContainers" : 0,
"ReservedMB" : 0,
"ReservedVCores" : 0,
"running_1440" : 0,
"running_300" : 0,
"running_60" : 0
}
}
}
}
},
...
{code}
> Additional YARN metrics required in service status call
> -------------------------------------------------------
>
> Key: AMBARI-2762
> URL: https://issues.apache.org/jira/browse/AMBARI-2762
> Project: Ambari
> Issue Type: Task
> Reporter: Tom Beerbower
> Assignee: Tom Beerbower
> Attachments: AMBARI-2762.patch
>
>
> When client calls
> /api/v1/clusters/vm/services?fields=components/host_components/metrics/yarn/Queue,
> we need following additional information:
> Queues defined (hierarchy also if possible)
--
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