Support Questions
Find answers, ask questions, and share your expertise

Hbase Master is not initializing

Highlighted

Hbase Master is not initializing

New Contributor

[fa-VCP@ics106048116 /bin]$ hbase shell HBase Shell; enter 'help<RETURN>' for list of supported commands. Type "exit<RETURN>" to leave the HBase Shell Version 1.1.2.2.6.1.0-129, r718c773662346de98a8ce6fd3b5f64e279cb87d4, Wed May 31 03:27:31 UTC 2017 hbase(main):001:0> list TABLE ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing at org.apache.hadoop.hbase.master.HMaster.checkInitialized(HMaster.java:2633) at org.apache.hadoop.hbase.master.MasterRpcServices.getTableNames(MasterRpcServices.java:936) at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:59814) at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2141) at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112) at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:187) at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:167) Here is some help for this command: List all tables in hbase. Optional regular expression parameter could be used to filter the output. Examples: hbase> list hbase> list 'abc.*' hbase> list 'ns:abc.*' hbase> list 'ns:.*'

I tried executing "list" in hbase shell to get the table lists , it returns the above error.

Please guide.

2 REPLIES 2

Re: Hbase Master is not initializing

Mentor

@Rahul Unnikrishnan please provide master logs and region server logs

Highlighted

Re: Hbase Master is not initializing

Use `jstack` to obtain a thread dump from the HMaster. That, in addition to the Master log Artem already requested, should definitively show what is preventing the Master from becoming active.