Recently YARN and more specifically Resource Manager will not start. Hunting through the logs in /var/log/hadoop-yarn/yarn/yarn-yarn-resourcemanager-scottvih2sa-92-namenode.log I found the error:
2015-12-02 20:18:13,287 FATAL resourcemanager.ResourceManager (ResourceManager.java:main(1241)) - Error starting ResourceManager
java.lang.IllegalArgumentException: Illegal capacity of -1.0 for node-label=default in queue=root, valid capacity should in range of [0, 100].
I look at the property: yarn.scheduler.capacity.root.accessible-node-labels.default.capacity with Ambari and indeed it is set to -1. I change this property along with the maximum-capacity property and YARN/Resource Manager will start.
So I know what is the problem but don't know why. I've been using Ambari blueprints to install HDP 2.2.x for many months and up until recently everything has been fine with YARN. I'm not overriding any of the scheduler properties with the blueprint so I don't think I'm doing anything wrong.
Is anyone else seeing the same thing? Could it be something I'm doing wrong in my blueprint if others are not having a problem? If this an HDP/Ambari bug in the latest release?
My version is HDP 2.2.9.0-3393

