org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid

Stack Overflow | user1058210 | 1 year ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Make sure your client has access to all machines in the cluster, check firewalls and connectivity problems and also update HBase to latest version.
    via apache.org by Imran Mohammed
  2. 0

    Hadoop Hbasee Zookeeper error

    Stack Overflow | 2 years ago | BenB
    org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase-unsecure/hbaseid
  3. 0

    Hbase shell 启动报错,使用status命令报 master is initializing-HBase-about云开发

    aboutyun.com | 2 months ago
    org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    error in creating table in hbase standalone mode

    Stack Overflow | 3 years ago | user2696466
    org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.zookeeper.KeeperException$ConnectionLossException

    KeeperErrorCode = ConnectionLoss for /hbase/hbaseid

    at org.apache.zookeeper.KeeperException.create()
  2. Zookeeper
    ZooKeeper.exists
    1. org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
    2. org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
    3. org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1045)
    3 frames
  3. HBase - Client
    ConnectionManager$HConnectionImplementation.<init>
    1. org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:221)
    2. org.apache.hadoop.hbase.zookeeper.ZKUtil.checkExists(ZKUtil.java:541)
    3. org.apache.hadoop.hbase.zookeeper.ZKClusterId.readClusterIdZNode(ZKClusterId.java:65)
    4. org.apache.hadoop.hbase.client.ZooKeeperRegistry.getClusterId(ZooKeeperRegistry.java:105)
    5. org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.retrieveClusterId(ConnectionManager.java:879)
    6. org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.<init>(ConnectionManager.java:635)
    6 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    4 frames
  5. HBase - Client
    ConnectionFactory.createConnection
    1. org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:238)
    2. org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:218)
    3. org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:119)
    3 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  7. JRuby Main Maven Artifact
    CachingCallSite.call
    1. org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:450)
    2. org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:362)
    3. org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:58)
    4. org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)
    5. org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169)
    6. org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
    7. org.jruby.ast.InstAsgnNode.interpret(InstAsgnNode.java:95)
    8. org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
    9. org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
    10. org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
    11. org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169)
    12. org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:191)
    13. org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302)
    14. org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144)
    15. org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
    16. org.jruby.RubyClass.newInstance(RubyClass.java:822)
    17. org.jruby.RubyClass$i$newInstance.call(RubyClass$i$newInstance.gen:65535)
    18. org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:249)
    19. org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
    20. org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
    20 frames
  8. home.jordan.hbase_minus_1_dot_1_dot_2
    hirb.load
    1. home.jordan.hbase_minus_1_dot_1_dot_2.bin.$_dot_dot_.bin.hirb.__file__(/home/jordan/hbase-1.1.2/bin/../bin/hirb.rb:118)
    2. home.jordan.hbase_minus_1_dot_1_dot_2.bin.$_dot_dot_.bin.hirb.load(/home/jordan/hbase-1.1.2/bin/../bin/hirb.rb)
    2 frames
  9. JRuby Main Maven Artifact
    Main.main
    1. org.jruby.Ruby.runScript(Ruby.java:697)
    2. org.jruby.Ruby.runScript(Ruby.java:690)
    3. org.jruby.Ruby.runNormally(Ruby.java:597)
    4. org.jruby.Ruby.runFromMain(Ruby.java:446)
    5. org.jruby.Main.doRunFromMain(Main.java:369)
    6. org.jruby.Main.internalRun(Main.java:258)
    7. org.jruby.Main.run(Main.java:224)
    8. org.jruby.Main.run(Main.java:208)
    9. org.jruby.Main.main(Main.java:188)
    9 frames