BUG-35942: Users must manually configure ZooKeeper security with ResourceManager High Availability.
BUG-27604: After upgrade from 2.1 of Highly Available system, ResourceManager fails to elect a master.
Problem: After upgrading an HA system from HDP 2.2 from HDP 2.1, you must manually clear the ResourceManager state store as part of the upgrade or the following error message will occur:
Exception transitioning to active PERMISSIONS=All users are allowed 2014-11-12 05:36:04,941 WARN ha.ActiveStandbyElector (ActiveStandbyElector.java:becomeActive(809)) - Exception handling the winning of election org.apache.hadoop.ha.ServiceFailedException: RM could not transition to Active at org.apache.hadoop.yarn.server.resourcemanager.EmbeddedElectorService. becomeActive(EmbeddedElectorService.java:128) [...]
Workaround: Manually clear the ResourceManager state store:
Run:
yarn resourcemanager -format-state-store
Start the ResourceManager:
su -l yarn -c "/usr/hdp/current/hadoop-yarn- resourcemanager/sbin/yarn-daemon.sh start resourcemanager"