[ 
https://issues.apache.org/jira/browse/YARN-9937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16963129#comment-16963129
 ] 

Prabhu Joseph commented on YARN-9937:
-------------------------------------

Thanks [~sunilg] for reviewing. Have addressed the above review comments in 
[^YARN-9937-004.patch]

 

*Json Response Output:*
{code:java}
 curl -H "Content-Type: application/json"  
"http://<RM_Host>.com:8088/ws/v1/cluster/scheduler" | jq .
 
       "maximumAllocation": {
              "memory": 8192,
              "vCores": 2,
              "resourceInformations": {
                "resourceInformation": [
                  {
                    "maximumAllocation": 9223372036854776000,
                    "minimumAllocation": 0,
                    "name": "memory-mb",
                    "resourceType": "COUNTABLE",
                    "units": "Mi",
                    "value": 8192
                  },
                  {
                    "maximumAllocation": 9223372036854776000,
                    "minimumAllocation": 0,
                    "name": "vcores",
                    "resourceType": "COUNTABLE",
                    "units": "",
                    "value": 2
                  }
                ]
              }
            },
            "queueAcls": {
              "queueAcl": [
                {
                  "accessType": "SUBMIT_APP",
                  "accessControlList": " "
                },
                {
                  "accessType": "ADMINISTER_QUEUE",
                  "accessControlList": " "
                },
                {
                  "accessType": "APPLICATION_MAX_PRIORITY",
                  "accessControlList": "*"
                }
              ]
            },
            "queuePriority": 0,
            "orderingPolicyInfo": "FifoOrderingPolicy",
            "configuredMaxAMResourceLimit": 0.2,
            "maxApplicationLifetime": -1,
            "defaultApplicationLifetime": -1
{code}

> Add missing queue configs in RMWebService#CapacitySchedulerQueueInfo
> --------------------------------------------------------------------
>
>                 Key: YARN-9937
>                 URL: https://issues.apache.org/jira/browse/YARN-9937
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: capacity scheduler
>    Affects Versions: 3.3.0
>            Reporter: Prabhu Joseph
>            Assignee: Prabhu Joseph
>            Priority: Major
>         Attachments: Screen Shot 2019-10-28 at 8.54.53 PM.png, 
> YARN-9937-001.patch, YARN-9937-002.patch, YARN-9937-003.patch, 
> YARN-9937-004.patch
>
>
> Below are the missing queue configs which are not part of RMWebServices 
> scheduler endpoint. 
> 1. Maximum Allocation
> 2. Queue ACLs
> 3. Queue Priority
> 4. Application Lifetime



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to