You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Bibin A Chundatt (JIRA)" <ji...@apache.org> on 2015/09/04 10:30:45 UTC
[jira] [Created] (YARN-4114) In RM REST API for cluster/scheduler
nodelabels in queues not listed properly
Bibin A Chundatt created YARN-4114:
--------------------------------------
Summary: In RM REST API for cluster/scheduler nodelabels in queues not listed properly
Key: YARN-4114
URL: https://issues.apache.org/jira/browse/YARN-4114
Project: Hadoop YARN
Issue Type: Bug
Components: resourcemanager
Reporter: Bibin A Chundatt
Assignee: Bibin A Chundatt
*Request used*
Accept: application/xml
GET http://<rm http address:port>/ws/v1/cluster/scheduler
Response
{code}
<queue xsi:type="capacitySchedulerLeafQueueInfo">
<capacity>10.0</capacity>
...
<state>RUNNING</state>
<resourcesUsed>...</resourcesUsed>
<hideReservationQueues>false</hideReservationQueues>
<nodeLabels>1</nodeLabels>
<nodeLabels>3</nodeLabels>
<allocatedContainers>0</allocatedContainers>
<reservedContainers>0</reservedContainers>
<pendingContainers>0</pendingContainers>
..
</queue>
{code}
Nodelabels for queue should be as below
<nodeLabels>
<nodeLabel>1</nodeLabel>
<nodeLabel>3</nodeLabel>
</nodeLabels>
or
<nodeLabels>1,3</nodeLabels>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)