[ https://issues.apache.org/jira/browse/YARN-3521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14530999#comment-14530999 ]
Vinod Kumar Vavilapalli commented on YARN-3521: ----------------------------------------------- bq. I'm fine with dropping NodeLabelNames as well, if it can keep the REST returned structure clean bq. 1. NodeLabelsName and NodeToLabelsName classes are needed for replace and remove apis. Else as you mentioned, REST apis wont be clean enough. I hope this is fine. We can directly pass a String or a set of Strings as arguments? See getLabelsToNodes() web-service for example. > 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)