Support Questions
Find answers, ask questions, and share your expertise

java.lang.RuntimeException: ZK Failover Controller failed: Unexpected Zookeeper watch event state: AuthFailed

New Contributor

2019-09-05 00:51:31,743 ERROR client.ZooKeeperSaslClient (ZooKeeperSaslClient.java:createSaslToken(388)) - An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7))]) occurred when evaluating Zookeeper Quorum Member's received SASL token. Zookeeper Client will go to AUTH_FAILED state.
2019-09-05 00:51:31,743 ERROR zookeeper.ClientCnxn (ClientCnxn.java:run(1059)) - SASL authentication with Zookeeper Quorum member failed: javax.security.sasl.SaslException: An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7))]) occurred when evaluating Zookeeper Quorum Member's received SASL token. Zookeeper Client will go to AUTH_FAILED state.
2019-09-05 00:51:31,743 ERROR ha.ActiveStandbyElector (ActiveStandbyElector.java:fatalError(719)) - Unexpected Zookeeper watch event state: AuthFailed
2019-09-05 00:51:31,743 ERROR ha.ZKFailoverController (ZKFailoverController.java:fatalError(379)) - Fatal error occurred:Unexpected Zookeeper watch event state: AuthFailed
2019-09-05 00:51:31,743 ERROR ha.ZKFailoverController (ZKFailoverController.java:doRun(249)) - The failover controller encounters runtime error:
java.lang.RuntimeException: ZK Failover Controller failed: Unexpected Zookeeper watch event state: AuthFailed
at org.apache.hadoop.ha.ZKFailoverController.mainLoop(ZKFailoverController.java:374)
at org.apache.hadoop.ha.ZKFailoverController.doRun(ZKFailoverController.java:247)
at org.apache.hadoop.ha.ZKFailoverController.access$000(ZKFailoverController.java:60)
at org.apache.hadoop.ha.ZKFailoverController$1.run(ZKFailoverController.java:175)
at org.apache.hadoop.ha.ZKFailoverController$1.run(ZKFailoverController.java:171)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:360)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1710)
at org.apache.hadoop.security.SecurityUtil.doAsLoginUserOrFatal(SecurityUtil.java:480)
at org.apache.hadoop.ha.ZKFailoverController.run(ZKFailoverController.java:171)
at org.apache.hadoop.hdfs.tools.DFSZKFailoverController.main(DFSZKFailoverController.java:195)
2019-09-05 00:51:31,743 INFO ipc.Server (Server.java:stop(3082)) - Stopping server on 8019
2019-09-05 00:51:31,744 INFO ipc.Server (Server.java:run(1185)) - Stopping IPC Server listener on 8019
2019-09-05 00:51:31,744 INFO ipc.Server (Server.java:run(1319)) - Stopping IPC Server Responder
2019-09-05 00:51:31,744 INFO ha.ActiveStandbyElector (ActiveStandbyElector.java:quitElection(412)) - Yielding from election
2019-09-05 00:51:31,744 INFO ha.HealthMonitor (HealthMonitor.java:shutdown(151)) - Stopping HealthMonitor thread
2019-09-05 00:51:31,744 FATAL tools.DFSZKFailoverController (DFSZKFailoverController.java:main(197)) - DFSZKFailOverController exiting due to earlier exception java.lang.RuntimeException: ZK Failover Controller failed: Unexpected Zookeeper watch event state: AuthFailed
2019-09-05 00:51:31,745 INFO util.ExitUtil (ExitUtil.java:terminate(210)) - Exiting with status 1: java.lang.RuntimeException: ZK Failover Controller failed: Unexpected Zookeeper watch event state: AuthFailed
2019-09-05 00:51:31,746 INFO tools.DFSZKFailoverController (LogAdapter.java:info(49)) - SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down DFSZKFailoverController at d010108058059.ds.dtveng.net/10.108.58.59
************************************************************/

0 REPLIES 0