- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to configure multiple node labels in one node using yarn capacity scheduler
- Labels:
-
Apache YARN
Created ‎07-26-2016 01:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Trying to configure multiple node labels(RackA,RackB) in one node(node2) using yarn capacity scheduler using below command. But it isnt working. Kindly help me with this.
yarn rmadmin -replaceLabelsOnNode "node1:port=RackA node2:port=RackA,RackB"
Created ‎07-26-2016 05:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A single node label can have multiple nodes assigned to it. However, a single node can not belong to more than 1 node label. You are trying to label a single node with 2 different labels which is not supported.
You can only assign one node label to each node. Also, if you do not specify a port, the node label change will be applied to all NodeManagers on the host.
Created ‎07-26-2016 03:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which version of Hadoop are you using? there was an issue that was in fixed in version 2.6 which might be impacting you.
https://issues.apache.org/jira/browse/YARN-2723
and what's the error are you getting? Can you please share that?
Created ‎09-13-2016 10:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
we were using Hadoop 2.7.1.2.4.2.0-258
Created ‎07-26-2016 05:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A single node label can have multiple nodes assigned to it. However, a single node can not belong to more than 1 node label. You are trying to label a single node with 2 different labels which is not supported.
You can only assign one node label to each node. Also, if you do not specify a port, the node label change will be applied to all NodeManagers on the host.
