Reply
New Contributor
Posts: 1
Registered: ‎01-30-2018

Configure Hbase on cloudera quickstart VM

I am getting below error while triggering list command in Hbase on Cloudera Quickstart VM:-

ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

Kindly refer to below additional information from log file:-

java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2046)
at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:198)
at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:139)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2060)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.apache.hadoop.hbase.ipc.RpcServer.bind(RpcServer.java:2372)
at org.apache.hadoop.hbase.ipc.RpcServer$Listener.<init>(RpcServer.java:528)
at org.apache.hadoop.hbase.ipc.RpcServer.<init>(RpcServer.java:1902)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:845)
at org.apache.hadoop.hbase.master.MasterRpcServices.<init>(MasterRpcServices.java:204)
at org.apache.hadoop.hbase.master.HMaster.createRpcServices(HMaster.java:494)
at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:504)
at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:347)
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:526)
at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2041)
... 5 more    

I tried stopping, forcefully killing all the services and restarting the same (for both HBase Master and HBase region server). But the issue still persist.

Could you please advice how I can resolve this issue. Alternatively, can I change it to standalone mode?

Announcements