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

Sunil G commented on YARN-7817:
-------------------------------

Sorry, an error was there in earlier patch. Updated v4 patch.Pl check below 
json response.
{code:java}
"resourceInformations": {
    "resourceInformation": [
    {
        "maximumAllocation": 9223372036854775807,
        "minimumAllocation": 0,
        "name": "memory-mb",
        "resourceType": "COUNTABLE",
        "units": "Mi",
        "value": 8192
    },
    {
        "maximumAllocation": 9223372036854775807,
        "minimumAllocation": 0,
        "name": "vcores",
        "resourceType": "COUNTABLE",
        "units": "",
        "value": 8
    }
  ]
}{code}

> Add Resource reference to RM's NodeInfo object so REST API can get non 
> memory/vcore resource usages.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: YARN-7817
>                 URL: https://issues.apache.org/jira/browse/YARN-7817
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Sumana Sathish
>            Assignee: Wangda Tan
>            Priority: Major
>         Attachments: YARN-7817.001.patch, YARN-7817.002.patch, 
> YARN-7817.003.patch, YARN-7817.004.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to