Created 06-28-2018 01:24 PM
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
@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.
View solution in original post