Hi,
I have enabled HA in my CDH4 cluster using CM. It can run successfully
without enabling the automatic failover.
but, While "Enabling Automatic Failover", it is unable to initialize HA in
zookeeper. It gives the following error message:
Failed to initialize High Availability state in ZooKeeper from
failovercontroller (itri-w-01): 13/11/20 17:06:50 INFO zookeeper.ZooKeeper:
Client
environment:java.library.path=/opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/lib/hadoop/lib/native
13/11/20 17:06:50 INFO zookeeper.ZooKeeper: Client
environment:java.io.tmpdir=/tmp
13/11/20 17:06:50 INFO zookeeper.ZooKeeper: Client
environment:java.compiler=<NA>
13/11/20 17:06:50 INFO zookeeper.ZooKeeper: Client environment:os.name=Linux
13/11/20 17:06:50 INFO zookeeper.ZooKeeper: Client environment:os.arch=amd64
13/11/20 17:06:50 INFO zookeeper.ZooKeeper: Client
environment:os.version=3.2.0-56-generic
13/11/20 17:06:50 INFO zookeeper.ZooKeeper: Client environment:user.name
=hdfs
13/11/20 17:06:50 INFO zookeeper.ZooKeeper: Client
environment:user.home=/var/lib/hadoop-hdfs
13/11/20 17:06:50 INFO zookeeper.ZooKeeper: Client
environment:user.dir=/run/cloudera-scm-agent/process/1184-failover-controller-initialize-znode
13/11/20 17:06:50 INFO zookeeper.ZooKeeper: Initiating client connection,
connectString=itri-w-02.hpcc.jp:2181,itri-w-01.hpcc.jp:2181,
itri-w-00.hpcc.jp:2181 sessionTimeout=5000
watcher=org.apache.hadoop.ha.ActiveStandbyElector$[email protected]
13/11/20 17:06:50 INFO zookeeper.ClientCnxn: Opening socket connection to
server itri-w-01.hpcc.jp/192.168.3.201:2181. Will not attempt to
authenticate using SASL (Unable to locate a login configuration)
13/11/20 17:06:50 INFO zookeeper.ClientCnxn: Socket connection established
to itri-w-01.hpcc.jp/192.168.3.201:2181, initiating session
13/11/20 17:06:50 INFO zookeeper.ClientCnxn: Session establishment complete
on server itri-w-01.hpcc.jp/192.168.3.201:2181, sessionid =
0x2427466e156003a, negotiated timeout = 5000
13/11/20 17:06:50 INFO ha.ActiveStandbyElector: Session connected.
13/11/20 17:06:50 INFO zookeeper.ZooKeeper: Session: 0x2427466e156003a
closed
13/11/20 17:06:50 INFO zookeeper.ClientCnxn: EventThread shut down
Why can not enabling the automatic failover?
Thanks,
LiLi
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].