Created on 07-28-2016 05:02 AM - edited 09-16-2022 03:32 AM
I was trying to create two node labels "x" as exclusive, and "y" as shareable (non-exclusive). But this command ain't working.
Kindly suggest.
yarn rmadmin -addToClusterNodeLabels "x(exclusive=true),y(exclusive=false)"
Created 07-28-2016 08:19 PM
As Sunile mentions, there are a couple of steps to the process. You need to provide more detail about what steps you have completed.
For the specific command you are using, Make sure you use:
sudo -u yarn yarn rmadmin -addToClusterNodeLabels "x(exclusive=true),y(exclusive=false)"
Here is the documentation:
Created 07-28-2016 07:55 PM
@Gaurab D what version of HDP are you on?
What is the error you get when you issue the command?
have you done sudo su yarn?
have you creatd label directory in hdfs?
have you set yarn.node.labels.enabled = true?
have you set yarn.node-labels.fs-store.root-dir?
After making changes did you restart resource manager?
what happens when you run yarn cluster --list-node-labels?
Have you followed directions list here?
Created 07-28-2016 08:19 PM
As Sunile mentions, there are a couple of steps to the process. You need to provide more detail about what steps you have completed.
For the specific command you are using, Make sure you use:
sudo -u yarn yarn rmadmin -addToClusterNodeLabels "x(exclusive=true),y(exclusive=false)"
Here is the documentation:
Created 09-13-2016 10:09 AM
Thanks, It was really helpful