[ 
https://issues.apache.org/jira/browse/YARN-9933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Prabhu Joseph updated YARN-9933:
--------------------------------
    Attachment: YARN-9933-001.patch

> RMWebServices get-node-labels json response is missing root element
> -------------------------------------------------------------------
>
>                 Key: YARN-9933
>                 URL: https://issues.apache.org/jira/browse/YARN-9933
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: webapp
>            Reporter: Prabhu Joseph
>            Assignee: Prabhu Joseph
>            Priority: Major
>              Labels: incompatibleChange
>         Attachments: YARN-9933-001.patch
>
>
> RMWebServices get-node-labels json response is missing root element. It does 
> not have root element *nodeLabelsInfo*
> *With no Node Label:*
> {code:java}
> {}
> {code}
>  
> *With One Node Label:*
> {code:java}
> [yarn@yarndocker-1 centos]$ curl 
> http://yarndocker-1:8088/ws/v1/cluster/get-node-labels
> {"nodeLabelInfo": {"name":"x","exclusivity":"true"} } {code}
>  
>  *With Multiple Node label:*
> {code:java}
> [yarn@yarndocker-1 centos]$ curl 
> http://yarndocker-1:8088/ws/v1/cluster/get-node-labels
> {"nodeLabelInfo": [
>     {"name":"x","exclusivity":"true"}, 
>     {"name":"y","exclusivity":"true"}
>   ]
> }
> {code}
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to