Home > database >  Ubuntu, clustered hbase zookeeper connection error, please help to have a look
Ubuntu, clustered hbase zookeeper connection error, please help to have a look

Time:10-02

Hbase (main) : 002-0 & gt; Create a 'test', 'info'
2017-11-26 11:07:32, WARN 602 [main] util. NativeCodeLoader: Unable to load native - hadoop library for your platform... Using the builtin - Java classes where applicable
The 2017-11-26 11:07:49, 822 ERROR [main] zookeeper. RecoverableZooKeeper: zookeeper exists failed after 4 attempts
The 2017-11-26 11:07:49, WARN 825 [main] zookeeper. ZKUtil: hconnection x42b6d0cc 0, quorum=liubaoxing - precision - workstation - t7500:2182, liubaoxing - slave: 2182, baseZNode=/hbase Unable to set watcher on znode (/hbase/hbaseid)
Org. Apache. Zookeeper. KeeperException $ConnectionLossException: KeeperErrorCode=ConnectionLoss for/hbase/hbaseid
at org. Apache. Zookeeper. KeeperException. Create (99) KeeperException. Java:
The at org. Apache. Zookeeper. KeeperException. Create (KeeperException. Java: 51)
The at org. Apache. Zookeeper. Zookeeper. The exists (zookeeper. Java: 1041)
At org, apache hadoop. Hbase. Zookeeper. RecoverableZooKeeper. The exists (RecoverableZooKeeper. Java: 220)
At org, apache hadoop. Hbase. Zookeeper. ZKUtil. CheckExists (ZKUtil. Java: 479)
At org, apache hadoop. Hbase. Zookeeper. ZKClusterId. ReadClusterIdZNode (ZKClusterId. Java: 65)
At org, apache hadoop. Hbase. Client. ZooKeeperRegistry. GetClusterId (ZooKeeperRegistry. Java: 83)
At org, apache hadoop. Hbase. Client. HConnectionManager $HConnectionImplementation. RetrieveClusterId (HConnectionManager. Java: 839)
At org, apache hadoop. Hbase. Client. HConnectionManager $HConnectionImplementation. (642) HConnectionManager. Java:
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance0 (Native Method)
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance (NativeConstructorAccessorImpl. Java: 62)
At sun. Reflect. DelegatingConstructorAccessorImpl. NewInstance (DelegatingConstructorAccessorImpl. Java: 45)
The at Java. Lang. Reflect. Constructor. NewInstance (423) Constructor. Java:

CodePudding user response:

Firewall is shut, and the other, clustered hbase, zookeeper need to be connected to the Internet? I only use the router LAN,