hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3521) Support return structured NodeLabel objects in REST API when call getClusterNodeLabels
Date Wed, 06 May 2015 18:20:02 GMT

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

Wangda Tan commented on YARN-3521:
----------------------------------

[~vinodkv], I just checked, we still need NodeLabelsName/NodeToLabelsName, since JAXB doesn't
support nested Java data structure, for example: Map<String, List<String>> is
not supported. Instead, you have to use Map<String, WrappedList>, NodeLabelsName is
the WrappedList here.

> Support return structured NodeLabel objects in REST API when call getClusterNodeLabels
> --------------------------------------------------------------------------------------
>
>                 Key: YARN-3521
>                 URL: https://issues.apache.org/jira/browse/YARN-3521
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api, client, resourcemanager
>            Reporter: Wangda Tan
>            Assignee: Sunil G
>         Attachments: 0001-YARN-3521.patch, 0002-YARN-3521.patch, 0003-YARN-3521.patch,
0004-YARN-3521.patch, 0005-YARN-3521.patch
>
>
> In YARN-3413, yarn cluster CLI returns NodeLabel instead of String, we should make the
same change in REST API side to make them consistency.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message