- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
HBASE and REST API
Created ‎06-28-2018 01:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
can I read/write/manipulate HBASE data via REST API in Hortonworks ? if yes can you guide me some documentation and examples ?
I also have Phoenix , is it better to read Hbase data via Phoenix views? again I want to read it via REST API.
Created ‎06-28-2018 03:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Sami Ahmad yes its possible to read hbase data using rest api. You need to start the rest api server first:
$ hbase rest start
By default this will listen on port 8080. URL used should be similar to this:
http://<myhost>:8080/<mytable>/<rowkey1>/<cf:q>/
Documentation at:
https://hbase.apache.org/1.2/apidocs/org/apache/hadoop/hbase/rest/package-summary.html
HTH
*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.
Created ‎06-28-2018 03:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Sami Ahmad yes its possible to read hbase data using rest api. You need to start the rest api server first:
$ hbase rest start
By default this will listen on port 8080. URL used should be similar to this:
http://<myhost>:8080/<mytable>/<rowkey1>/<cf:q>/
Documentation at:
https://hbase.apache.org/1.2/apidocs/org/apache/hadoop/hbase/rest/package-summary.html
HTH
*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.
