Reputation: 942
As I want to store data on HDFS, so need to access the HBase, so how could I connect to HBase using Java APIs.
Please suggest.
Thanks.
Upvotes: 2
Views: 1717
Reputation: 41
I write a simple framework to operate on hbase. https://github.com/zhang-xzhi/simplehbase/
Simplehbase is a lightweight ORM framework between java app and hbase. The main feature of it are following:
Upvotes: 0
Reputation:
HBase has Java API. Have a look at http://hbase.apache.org/apidocs/index.html
Two important classes are
1) HBaseAdmin
2) HTable
HBaseAdmin is admin API used to create/delete/alter tables
HTable is the client API used to put/get/scan records.
Upvotes: 2