java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster

Stack Overflow | Vishwanath560 | 3 months 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

    java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster

    Stack Overflow | 3 months ago | Vishwanath560
    java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
  2. 0
    samebug tip
    There's either another process in the same port (in which case you can close it or change it's port) or you started another instance of Zookeeper before. You can also change Zookeeper's port to 2182 if the others solutions are not possible.
  3. 0

    Hbase Zookeeper Standalone mode

    Stack Overflow | 2 years ago
    org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/master
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can not run hbase standalone in my mac

    Stack Overflow | 3 years ago | zjffdu
    org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired for /hbase/master
  6. 0

    HBase fails to start in a simple configuration

    Stack Overflow | 3 years ago | Chuan Liang
    org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/master

    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. java.lang.IllegalArgumentException

      Invalid path string "//localhost" caused by empty node name specified @1

      at org.apache.zookeeper.common.PathUtils.validatePath()
    2. Zookeeper
      ZooKeeper.<init>
      1. org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
      2. org.apache.zookeeper.client.ConnectStringParser.<init>(ConnectStringParser.java:57)
      3. org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:443)
      4. org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:380)
      4 frames
    3. HBase - Client
      HMaster.<init>
      1. org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.checkZk(RecoverableZooKeeper.java:141)
      2. org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createNonSequential(RecoverableZooKeeper.java:575)
      3. org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create(RecoverableZooKeeper.java:554)
      4. org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1207)
      5. org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1185)
      6. org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:193)
      7. org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:177)
      8. org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:561)
      8 frames
    4. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:534)
      4 frames
    5. HBase - Client
      HMasterCommandLine.run
      1. org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:3145)
      2. org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:3150)
      3. org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:135)
      3 frames
    6. Hadoop
      ToolRunner.run
      1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      1 frame
    7. HBase
      ServerCommandLine.doMain
      1. org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:127)
      1 frame
    8. HBase - Client
      HMaster.main
      1. org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:3164)
      1 frame