KeeperErrorCode = ConnectionLoss for /hbase/hbaseid

时间:2025-04-12 07:50:29
[user@cloud18 hbase]$ hbase shell
2019-08-06 14:38:12,826 INFO  [main] :  is deprecated. Instead, use 
2019-08-06 14:38:32,461 ERROR [main] : ZooKeeper exists failed after 4 attempts
2019-08-06 14:38:32,463 WARN  [main] : hconnection-0xfca3b910x0, quorum=localhost:2181, baseZNode=/hbase Unable to set watcher on znode (/hbase/hbaseid)
$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
	at (:99)
	at (:51)
	at (:1041)
	at (:220)
	at (:419)
	at (:65)
	at (:105)
	at $(:931)
	at $HConnectionImplementation.<init>(:658)
	at .newInstance0(Native Method)
	at (:57)
	at (:45)
	at (:526)
	at (:238)
	at (:218)
	at (:119)
	at .invoke0(Native Method)
	at (:57)
	at (:43)
	at (:606)
	at (:450)
	at (:362)
	at (:58)
	at (:312)
	at (:169)
	at (:57)
	at (:95)
	at (:104)
	at (:71)
	at .INTERPRET_METHOD(:74)
	at (:169)
	at (:191)
	at (:302)
	at (:144)
	at (:148)
	at (:822)
	at $i$(RubyClass$i$:65535)
	at $(:249)
	at (:292)
	at (:135)
	at .CDH_minus_5_dot_13_dot_0_minus_1_dot_cdh5_dot_13_dot_0_dot_p0_dot_29..$_dot_dot_..__file__(/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase/bin/../bin/:131)
	at .CDH_minus_5_dot_13_dot_0_minus_1_dot_cdh5_dot_13_dot_0_dot_p0_dot_29..$_dot_dot_.(/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase/bin/../bin/)
	at (:697)
	at (:690)
	at (:597)
	at (:446)
	at (:369)
	at (:258)
	at (:224)
	at (:208)
	at (:188)
2019-08-06 14:38:32,472 ERROR [main] : hconnection-0xfca3b910x0, quorum=localhost:2181, baseZNode=/hbase Received unexpected KeeperException, re-throwing exception

原因:登录机器无hbase角色