Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hbase Master doesn't perform well

hbase Master doesn't perform well

Expert Contributor


I'm trying to start Hbase server (Master) which is on 2 master nodes on My cluster HDP 2.5 via Ambari 2.5,

he starts for a while and then he breaks down, I don't understand What's happen with him,

I checked out logs and this is what I found:

2018-01-23 14:02:31,935 ERROR [main] master.HMasterCommandLine: Master exiting
java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
        at org.apache.hadoop.hbase.master.HMaster.constructMaster(
        at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(
        at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(
        at org.apache.hadoop.hbase.master.HMaster.main(
Caused by: Address already in use
        at Method)
        at org.apache.hadoop.hbase.ipc.RpcServer.bind(
        at org.apache.hadoop.hbase.ipc.RpcServer$Listener.<init>(
        at org.apache.hadoop.hbase.ipc.RpcServer.<init>(
        at org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(
        at org.apache.hadoop.hbase.master.MasterRpcServices.<init>(
        at org.apache.hadoop.hbase.master.HMaster.createRpcServices(
        at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(
        at org.apache.hadoop.hbase.master.HMaster.<init>(
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
        at java.lang.reflect.Constructor.newInstance(
        at org.apache.hadoop.hbase.master.HMaster.constructMaster(
        ... 5 more

any suggestions will be greatly appreciated


Re: hbase Master doesn't perform well

Something is already bound to a port which the HBase Master is trying to bind. By default, this port is 16000. Inspect your system to find what is already running and using that port.


Re: hbase Master doesn't perform well

Expert Contributor

thanks for reply @Josh Elser

I checked it out and it's just good:



Re: hbase Master doesn't perform well

Super Mentor

@yassine sihi

Looks like the port is being utilized by some other process and hence HMaster is not able to bind to that port.

Please check the output of the following commadn to determine if any other PID (Process) is consuming any of the following port.

On HMaster Host:

# netstat -tnlpa | grep 16010
# netstat -tnlpa | grep 16000


If any other process is already using any of the mentioned port then please kill please check why is it using the port which is supposed to be used by HMaster.

The kill the process which is using this port (based on need) and then freshly try starting HMaster.

Don't have an account?
Coming from Hortonworks? Activate your account here