Created 10-29-2015 04:23 PM
Does anyone have (or can you point me to) a link that explains the steps of using YARN node labels in HDP 2.3 being managed by Ambari 2.1? Our existing documentation is for manual configuration only. I've clicked the enabled button, and have already figured out that Ambari creates slightly different directory structures, etc. than are listed. I can keep going with trial and error, but if someone has already documented the process, caveats, etc. that would be fantastic. Thanks!
Created on 10-29-2015 08:36 PM - edited 08-19-2019 05:53 AM
@jeden@hortonworks.com
Thanks for asking this question. I could not find any specific docs and looks like it's straight forward from Ambari end ( as you said it already)
Under Yarn --> Config ( 2 features, Node label and Pre-emption - not relevant to this question)
enable label - yarn.node-labels.enabled
Doc mentioned to configure root-dir to HDFS but ambari has above location by default. We can follow the manual guide once enabling the labels through Ambari (Based on my testing in lab)
Created on 10-29-2015 08:36 PM - edited 08-19-2019 05:53 AM
@jeden@hortonworks.com
Thanks for asking this question. I could not find any specific docs and looks like it's straight forward from Ambari end ( as you said it already)
Under Yarn --> Config ( 2 features, Node label and Pre-emption - not relevant to this question)
enable label - yarn.node-labels.enabled
Doc mentioned to configure root-dir to HDFS but ambari has above location by default. We can follow the manual guide once enabling the labels through Ambari (Based on my testing in lab)
Created 10-29-2015 09:38 PM
Again, with caveats. For example, the sample command given to test the settings says to run it as yarn, however it failed for me as some permissions now apparently required the hdfs user.
My bottom line, which would be nice to validate, is this:
1) The command line setup of users and folders is unnecessary, and Ambari sets them up slightly differently than our docs
2) Permissions are also different for folders (yarn hadoop vs. yarn yarn...)
3) The sample hadoop jar command to test (which I ran as yarn jar) requires switching to hdfs rather than yarn.
Does that sound about right?
Created 10-29-2015 09:39 PM
Also - is there a quicker / easier / cleaner way to test the node labels that you used other than the one listed in the docs?
Created 11-01-2015 01:56 PM
Created on 01-11-2016 03:49 PM - edited 08-19-2019 05:53 AM
I configured 4 node labels, for each node label i assigned two nodes. For each node label, i assigned queue. I submitted an application through slider, it is running on specific queue under specific node labels and nodes.
Now, we are in the process of blowing up the cluster thats why it is showing in orange color and unable to obtain node label information. It will show green color and no error message. I checked in Resource Manager Web UI, it is running under specific nodes.
Created 01-11-2016 03:52 PM
I followed hortonwork's documentation for creating node labels and assigning nodes to node labels.