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

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

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

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
Highlighted

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

@Sandeep Ahuja, Do check if the master is running using "ps -ef | grep master" if no process, Do start the master from ambari and ambari should create the pid file along with the pid.

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