Reply
Highlighted
Explorer
Posts: 8
Registered: ‎10-02-2017

no master to stop because no pid file /var/run/hbase/hbase-hbase-master.pid

hbase master.pid is not getting created, PID for other daemons is generated properly
ERROR: no master to stop because no pid file /var/run/hbase/hbase-hbase-master.pid

 

PID files for other hbase daemons:
hbase-hbase-regionserver.pid
hbase-hbase-rest.pid
hbase-hbase-thrift.pid
21391
21623
21955

 

When i run any command inside hbase shell it give error: Can't get master address from ZooKeeper; znode data == null

However I am able to open zookeeper-client shell/prompt.

 

Could you please tell me why hbase master pid file is not getting created?
Can I manually create it and put the PID inside? If Yes, what is the PID for hbase-master?

 

Thanks//Sandeep

Posts: 1,664
Kudos: 325
Solutions: 262
Registered: ‎07-31-2013

Re: no master to stop because no pid file /var/run/hbase/hbase-hbase-master.pid

It appears that your HMaster is crashing out during startup. Take a look at the HMaster log file under /var/log/hbase/ to investigate why.

If you are able to run the configured ZK properly, check if the /hbase znode appears on it.
Announcements