Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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

avatar
Explorer

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

1 REPLY 1

avatar
Mentor
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.