[ https://issues.apache.org/jira/browse/YARN-3014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wangda Tan updated YARN-3014: ----------------------------- Attachment: YARN-3014-1.patch Attached patch, and kick jenkins. This patch contains refactoring described in YARN-3016, which merged internalAdd/Remove/ReplaceLabels to one method. > Changing labels on a host should update all NM's labels on that host > -------------------------------------------------------------------- > > Key: YARN-3014 > URL: https://issues.apache.org/jira/browse/YARN-3014 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Wangda Tan > Assignee: Wangda Tan > Attachments: YARN-3014-1.patch > > > Admin can either specify labels on a host (by running {{yarn rmadmin > -replaceLabelsOnNode host1,label1}}) OR on a single NM (by running {{yarn > rmadmin -replaceLabelsOnNode host1:port,label1}}). > If user has specified label=x on a NM (instead of host), and later set the > label=y on host of the NM. NM's label should update to y as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)