HBase create statement org.apache.hadoop.hbase.PleaseHoldException

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 …

More

Integrating Hive 0.9.0 with HBase 0.94.3 – Identifying root cause for RuntimeException: Error while reading from task log url

The last post here was on integrating Hive 0.11.0 with HBase 0.94.2. But because of issue HIVE-4515 currently we are not able to query HBase with varied queries. While the contributors are fixing the issue we can use HBase 0.94.3 for our experiments. The Above posts has details on configuring Hive with HBase and table …

More

HBase Hive integration – Querying HBase via Hive

There is a cool post here on Apache wiki : HBase Hive integration .This post is a simplified compilation of the same. Hive: 0.11.0 HBase: 0.94.2 Hadoop: 0.20.2 Create HBase table create ‘hivehbase’, ‘ratings’ put ‘hivehbase’, ‘row1’, ‘ratings:userid’, ‘user1’ put ‘hivehbase’, ‘row1’, ‘ratings:bookid’, ‘book1’ put ‘hivehbase’, ‘row1’, ‘ratings:rating’, ‘1’ put ‘hivehbase’, ‘row2’, ‘ratings:userid’, ‘user2’ put …

More