java.lang.RuntimeException

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


Solutions on the web19570

Solution icon of github
via GitHub by hooperbloob
, 1 year ago
Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster

Solution icon of springsource
via SpringSource Issue Tracker by Yifeng Xiao, 1 year ago
Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster

Solution icon of stackoverflow
Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster

Solution icon of stackoverflow
Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster

Solution icon of github
Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster

Solution icon of googlegroups
via Google Groups by bijieshan, 1 year ago
Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster

Solution icon of googlegroups
via Google Groups by Ratnajit Devnath - ERS, HCL Tech, 1 year ago
Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster

Solution icon of springsource
via SpringSource Issue Tracker by Yifeng Xiao, 1 year ago
Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster

Solution icon of stackoverflow
Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster

Solution icon of stackoverflow
Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster

Stack trace

  • java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:3150) at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:135) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:127) at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:3164) Caused by: java.lang.IllegalArgumentException: Invalid path string "//localhost" caused by empty node name specified @1 at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99) at org.apache.zookeeper.client.ConnectStringParser.<init>(ConnectStringParser.java:57) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:443) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:380) at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.checkZk(RecoverableZooKeeper.java:141) at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createNonSequential(RecoverableZooKeeper.java:575) at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create(RecoverableZooKeeper.java:554) at org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1207) at org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1185) at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:193) at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:177) at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:561) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:534) at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:3145) ... 5 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago