Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Who agreed with this topic

CDH 5 YARN Resource Manager HA - deadlock in Kerberos cluster

New Contributor

2014-06-27 17:07:31,749 INFO org.apache.zookeeper.ZooKeeper: Initiating client connection, connectString=cblrv9032l.sunlab.ca:2181,cblrv9031l.sunlab.ca:2181,cblrv9033l.sunlab.ca:2181 sessionTimeout=10000 watcher=org.apache.hadoop.ha.ActiveStandbyElector$WatcherWithClientRef@503b8f3f
2014-06-27 17:07:31,750 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server cblrv9032l.sunlab.ca/10.126.180.32:2181. Will not attempt to authenticate using SASL (unknown error)
2014-06-27 17:07:31,751 INFO org.apache.zookeeper.ClientCnxn: Socket connection established to cblrv9032l.sunlab.ca/10.126.180.32:2181, initiating session
2014-06-27 17:07:31,755 INFO org.apache.zookeeper.ClientCnxn: Session establishment complete on server cblrv9032l.sunlab.ca/10.126.180.32:2181, sessionid = 0x146ded547c3078a, negotiated timeout = 10000
2014-06-27 17:07:31,755 INFO org.apache.zookeeper.ClientCnxn: EventThread shut down
2014-06-27 17:07:31,755 INFO org.apache.hadoop.ha.ActiveStandbyElector: Session connected.
2014-06-27 17:07:31,758 INFO org.apache.hadoop.ha.ActiveStandbyElector: Checking for any old active which needs to be fenced...
2014-06-27 17:07:31,758 INFO org.apache.hadoop.ha.ActiveStandbyElector: Old node exists: 0a067961726e524d1205726d313739
2014-06-27 17:07:31,759 INFO org.apache.hadoop.ha.ActiveStandbyElector: Writing znode /yarn-leader-election/yarnRM/ActiveBreadCrumb to indicate that the local node is the most recent active...
2014-06-27 17:07:31,761 INFO org.apache.hadoop.conf.Configuration: found resource yarn-site.xml at file:/var/run/cloudera-scm-agent/process/756-yarn-RESOURCEMANAGER/yarn-site.xml
2014-06-27 17:07:31,765 INFO org.apache.hadoop.yarn.server.resourcemanager.RMAuditLogger: USER=yarn OPERATION=refreshAdminAcls TARGET=AdminService RESULT=SUCCESS
2014-06-27 17:07:31,765 INFO org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Transitioning to active state
2014-06-27 17:07:31,765 WARN org.apache.hadoop.yarn.server.resourcemanager.RMAuditLogger: USER=yarn OPERATION=transitionToActive TARGET=RMHAProtocolService RESULT=FAILURE DESCRIPTION=Exception transitioning to active PERMISSIONS=All users are allowed
2014-06-27 17:07:31,765 WARN org.apache.hadoop.ha.ActiveStandbyElector: 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:118)
 at org.apache.hadoop.ha.ActiveStandbyElector.becomeActive(ActiveStandbyElector.java:804)
 at org.apache.hadoop.ha.ActiveStandbyElector.processResult(ActiveStandbyElector.java:415)
 at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:599)
 at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:498)
Caused by: org.apache.hadoop.ha.ServiceFailedException: Error when transitioning to Active mode
 at org.apache.hadoop.yarn.server.resourcemanager.AdminService.transitionToActive(AdminService.java:274)
 at org.apache.hadoop.yarn.server.resourcemanager.EmbeddedElectorService.becomeActive(EmbeddedElectorService.java:116)
 ... 4 more
Caused by: org.apache.hadoop.service.ServiceStateException: RMActiveServices cannot enter state STARTED from state STOPPED
 at org.apache.hadoop.service.ServiceStateModel.checkStateTransition(ServiceStateModel.java:129)
 at org.apache.hadoop.service.ServiceStateModel.enterState(ServiceStateModel.java:111)
 at org.apache.hadoop.service.AbstractService.start(AbstractService.java:190)
 at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.startActiveServices(ResourceManager.java:811)
 at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.transitionToActive(ResourceManager.java:842)
 at org.apache.hadoop.yarn.server.resourcemanager.AdminService.transitionToActive(AdminService.java:265)
 ... 5 more
2014-06-27 17:07:31,766 INFO org.apache.hadoop.ha.ActiveStandbyElector: Trying to re-establish ZK session
2014-06-27 17:07:31,768 INFO org.apache.zookeeper.ZooKeeper: Session: 0x146ded547c3078a closed

Who agreed with this topic