[
https://issues.apache.org/jira/browse/YARN-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15631324#comment-15631324
]
Bibin A Chundatt commented on YARN-4498:
----------------------------------------
Sample
*JSON*
{noformat}
{
"apps": {
"app": [
{
"id": "application_1478107292261_0001",
"user": "root",
"name": "QuasiMonteCarlo",
"queue": "default",
"state": "FINISHED",
"finalStatus": "SUCCEEDED",
"progress": 100,
"trackingUI": "History",
"trackingUrl":
"http://localhost:8088/proxy/application_1478107292261_0001/",
"diagnostics": "",
"clusterId": 1478107292261,
"applicationType": "MAPREDUCE",
"applicationTags": "",
"priority": 0,
"startedTime": 1478107344160,
"finishedTime": 1478107365065,
"elapsedTime": 20905,
"amContainerLogs":
"http://localhost:8043/node/containerlogs/container_1478107292261_0001_01_000001/root",
"amHostHttpAddress": "localhost:8043",
"amRPCAddress": "localhost:44793",
"allocatedMB": -1,
"allocatedVCores": -1,
"runningContainers": -1,
"memorySeconds": 51757,
"vcoreSeconds": 36,
"queueUsagePercentage": 0,
"clusterUsagePercentage": 0,
"preemptedResourceMB": 0,
"preemptedResourceVCores": 0,
"numNonAMContainerPreempted": 0,
"numAMContainerPreempted": 0,
"logAggregationStatus": "DISABLED",
"unmanagedApplication": false,
"amNodeLabelExpression": ""
}
]
}
}
{noformat}
*XML*
{noformat}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<apps>
<app>
<id>application_1478107292261_0001</id>
<user>root</user>
<name>QuasiMonteCarlo</name>
<queue>default</queue>
<state>FINISHED</state>
<finalStatus>SUCCEEDED</finalStatus>
<progress>100.0</progress>
<trackingUI>History</trackingUI>
<trackingUrl>http://localhost:8088/proxy/application_1478107292261_0001/</trackingUrl>
<diagnostics></diagnostics>
<clusterId>1478107292261</clusterId>
<applicationType>MAPREDUCE</applicationType>
<applicationTags></applicationTags>
<priority>0</priority>
<startedTime>1478107344160</startedTime>
<finishedTime>1478107365065</finishedTime>
<elapsedTime>20905</elapsedTime>
<amContainerLogs>http://localhost:8043/node/containerlogs/container_1478107292261_0001_01_000001/root</amContainerLogs>
<amHostHttpAddress>localhost:8043</amHostHttpAddress>
<amRPCAddress>localhost:44793</amRPCAddress>
<allocatedMB>-1</allocatedMB>
<allocatedVCores>-1</allocatedVCores>
<runningContainers>-1</runningContainers>
<memorySeconds>51757</memorySeconds>
<vcoreSeconds>36</vcoreSeconds>
<queueUsagePercentage>0.0</queueUsagePercentage>
<clusterUsagePercentage>0.0</clusterUsagePercentage>
<preemptedResourceMB>0</preemptedResourceMB>
<preemptedResourceVCores>0</preemptedResourceVCores>
<numNonAMContainerPreempted>0</numNonAMContainerPreempted>
<numAMContainerPreempted>0</numAMContainerPreempted>
<logAggregationStatus>DISABLED</logAggregationStatus>
<unmanagedApplication>false</unmanagedApplication>
<amNodeLabelExpression></amNodeLabelExpression>
</app>
</apps>
{noformat}
> Application level node labels stats to be available in REST
> -----------------------------------------------------------
>
> Key: YARN-4498
> URL: https://issues.apache.org/jira/browse/YARN-4498
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: api, client, resourcemanager
> Reporter: Bibin A Chundatt
> Assignee: Bibin A Chundatt
> Labels: oct16-medium
> Fix For: 2.8.0, 2.9.0, 3.0.0-alpha2
>
> Attachments: 0001-YARN-4498.patch, YARN-4498.0002.patch,
> YARN-4498.0003.patch, YARN-4498.0004.patch, YARN-4498.branch-2.8.0001.patch,
> YARN-4498.branch-2.8.addendum.001.patch, YARN-4498.trunk.addendum.001.patch,
> apps.xml
>
>
> Currently nodelabel stats per application is not available through REST like
> currently used labels by all live containers, total stats of containers per
> label for app etc..
> CLI and web UI scenarios will be handled separately.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]