Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

access hbase tables using rest api

Explorer

developer needs acess to hbase tables using rest api.

which things need to do on ambari cluster to access hbase tables using rest api.

1 REPLY 1

Contributor

@John

You can use the REST API to Access data in HBase. By default, the HBase rest server is not started. You need to start it first

To start rest server in the foreground

  1. # su hbase
  2. # hbase rest start -p {port to start the server}

To start in the background

  1. # su hbase
  2. # /usr/hdp/current/hbase-master/bin/hbase-daemon.sh start rest -p {port to start the server}

.

Ref: http://hbase.apache.org/book.html#_rest

http://blog.cloudera.com/blog/2013/03/how-to-use-the-apache-hbase-rest-interface-part-1/