Quick post on HBase Exception: HBase create statement org.apache.hadoop.hbase.PleaseHoldException
hbase(main):002:0> create ‘temptable’, ‘fam1’, ‘fam2’
ERROR: org.apache.hadoop.hbase.PleaseHoldException: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing at org.apache.hadoop.hbase.master.HMaster.checkInitialized(HMaster.java:1841) at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1333) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:323) at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1428)
ISSUE:
Region servers or master may be down.
Use:
$ sudo service hbase-master start
$ sudo service hbase-regionserver start
For CDH Users:
We can directly visit :
Cloudera Manager > Services> HBase
look fo rthe action dropdown where we can start the services.
Cheers \m/