- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Can we assign multiple nodes to a yarn node label? What are the precautions need to take while assigning nodes to node labels?
- Labels:
-
Apache YARN
Created ‎01-06-2016 06:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎01-29-2016 05:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I assigned multiple nodes to a node label. I configured the node labels accessible to specific queues sothat jobs submitted in a specific queue will run in the assigned nodes of a node label.
Created ‎01-06-2016 09:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes based on this http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-...
Assign Node Labels to Cluster Nodes
Use the following command format to add or replace node label assignments on cluster nodes:
yarn rmadmin -replaceLabelsOnNode "<node1>:<port>=<label1> <node2>:<port>=<label2>"
For example, the following commands assign node label "x" to "node-1.example.com", and node label "y" to "node-2.example.com".
sudo su yarn yarn rmadmin -replaceLabelsOnNode "node-1.example.com=x node-2.example.com=y"
Created ‎01-07-2016 02:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am asking multiple nodes to a single node label.
Created ‎01-07-2016 03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Ram D yes see my comment above
Created on ‎01-07-2016 02:44 AM - edited ‎08-19-2019 05:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes you can assign multiple nodes to a label, that's the premise of node labels, you want to designate GPU heavy nodes to node label GPU, nodes with SSD to label SSD, etc, the label needs to be shared and not exclusive. Here's design PDF and yet another PDF for node lables and associated Jira.
Here's a screenshot from the first PDF:
Created ‎01-29-2016 05:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I assigned multiple nodes to a node label. I configured the node labels accessible to specific queues sothat jobs submitted in a specific queue will run in the assigned nodes of a node label.
Created ‎01-29-2016 05:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Ram D Something like this? https://community.hortonworks.com/content/kbentry/11434/yarn-node-labels-1.html
