ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vivek Rathod (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-19736) Format ZKFC commands failing while enabling NameNode HA
Date Thu, 26 Jan 2017 23:16:24 GMT
Vivek Rathod created AMBARI-19736:
-------------------------------------

             Summary: Format ZKFC commands failing while enabling NameNode HA
                 Key: AMBARI-19736
                 URL: https://issues.apache.org/jira/browse/AMBARI-19736
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 2.5.0
            Reporter: Vivek Rathod
             Fix For: 2.5.0


Format ZKFC commands failing while enabling NameNode HA at Initializa Metadata step

{code}
17/01/26 00:45:51 INFO ha.ActiveStandbyElector: Terminating ZK connection for elector id=124323713
appData=null cb=Elector callbacks for NameNode at <EXTERNAL_HOST_NAME>/<INTERNAL_HOST_NAME>:8020
17/01/26 00:45:51 INFO zookeeper.ZooKeeper: Session: 0x359d8394c030006 closed
17/01/26 00:45:51 INFO zookeeper.ClientCnxn: EventThread shut down
17/01/26 00:45:51 FATAL tools.DFSZKFailoverController: Got a fatal error, exiting now
java.io.IOException: Couldn't create /hadoop-ha/nameservice
	at org.apache.hadoop.ha.ActiveStandbyElector.ensureParentZNode(ActiveStandbyElector.java:350)
	at org.apache.hadoop.ha.ZKFailoverController.formatZK(ZKFailoverController.java:274)
	at org.apache.hadoop.ha.ZKFailoverController.doRun(ZKFailoverController.java:212)
	at org.apache.hadoop.ha.ZKFailoverController.access$000(ZKFailoverController.java:61)
	at org.apache.hadoop.ha.ZKFailoverController$1.run(ZKFailoverController.java:172)
	at org.apache.hadoop.ha.ZKFailoverController$1.run(ZKFailoverController.java:168)
	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:1704)
	at org.apache.hadoop.security.SecurityUtil.doAsLoginUserOrFatal(SecurityUtil.java:474)
	at org.apache.hadoop.ha.ZKFailoverController.run(ZKFailoverController.java:168)
	at org.apache.hadoop.hdfs.tools.DFSZKFailoverController.main(DFSZKFailoverController.java:183)
Caused by: org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth
for /hadoop-ha/nameservice
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:113)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
	at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
	at org.apache.hadoop.ha.ActiveStandbyElector$3.run(ActiveStandbyElector.java:1000)
	at org.apache.hadoop.ha.ActiveStandbyElector$3.run(ActiveStandbyElector.java:997)
	at org.apache.hadoop.ha.ActiveStandbyElector.zkDoWithRetries(ActiveStandbyElector.java:1041)
	at org.apache.hadoop.ha.ActiveStandbyElector.createWithRetries(ActiveStandbyElector.java:997)
	at org.apache.hadoop.ha.ActiveStandbyElector.ensureParentZNode(ActiveStandbyElector.java:344)
	... 11 more
{code}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message