hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bibin A Chundatt (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-4114) In RM REST API for cluster/scheduler nodelabels in queues not listed properly
Date Fri, 04 Sep 2015 08:30:45 GMT
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)

Mime
View raw message