<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: HBASE and REST API in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBASE-and-REST-API/m-p/233772#M80028</link>
    <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;@Sami Ahmad&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Yes. You can use the hbase REST API to manipulate data in HDP. By default the hbase rest server is not started. You need to start it first&lt;/P&gt;&lt;P&gt;To start rest server in foreground &lt;/P&gt;&lt;PRE&gt;# su hbase
# hbase rest start -p {port to start the server}&lt;/PRE&gt;&lt;P&gt;To start in background&lt;/P&gt;&lt;PRE&gt;# su hbase
# /usr/hdp/current/hbase-master/bin/hbase-daemon.sh start rest -p {port to start the server}&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Ref: &lt;A href="http://hbase.apache.org/book.html#_rest" target="_blank"&gt;http://hbase.apache.org/book.html#_rest&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blog.cloudera.com/blog/2013/03/how-to-use-the-apache-hbase-rest-interface-part-1/" target="_blank"&gt;http://blog.cloudera.com/blog/2013/03/how-to-use-the-apache-hbase-rest-interface-part-1/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;You can also use the phoenix query server to do the manipulation using http using sqlline.py. But the interface it not REST. Phoenix is built on Apache Calcite.&lt;/P&gt;&lt;P&gt;&lt;A href="http://phoenix.apache.org/server.html" target="_blank"&gt;http://phoenix.apache.org/server.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please "Accept" the answer if this helps.&lt;/P&gt;&lt;P&gt;-Aditya&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jun 2018 00:18:54 GMT</pubDate>
    <dc:creator>asirna</dc:creator>
    <dc:date>2018-06-29T00:18:54Z</dc:date>
    <item>
      <title>HBASE and REST API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBASE-and-REST-API/m-p/233771#M80027</link>
      <description>&lt;P&gt;can I read/write/manipulate HBASE data via REST API in Hortonworks ? if yes can you guide me some documentation and examples ?&lt;/P&gt;&lt;P&gt;I also have Phoenix , is it better to read Hbase data via Phoenix views? again I want to read it via REST API.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 20:21:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBASE-and-REST-API/m-p/233771#M80027</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2018-06-28T20:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: HBASE and REST API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBASE-and-REST-API/m-p/233772#M80028</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/10115/sahmad43.html" nodeid="10115"&gt;@Sami Ahmad&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Yes. You can use the hbase REST API to manipulate data in HDP. By default the hbase rest server is not started. You need to start it first&lt;/P&gt;&lt;P&gt;To start rest server in foreground &lt;/P&gt;&lt;PRE&gt;# su hbase
# hbase rest start -p {port to start the server}&lt;/PRE&gt;&lt;P&gt;To start in background&lt;/P&gt;&lt;PRE&gt;# su hbase
# /usr/hdp/current/hbase-master/bin/hbase-daemon.sh start rest -p {port to start the server}&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Ref: &lt;A href="http://hbase.apache.org/book.html#_rest" target="_blank"&gt;http://hbase.apache.org/book.html#_rest&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blog.cloudera.com/blog/2013/03/how-to-use-the-apache-hbase-rest-interface-part-1/" target="_blank"&gt;http://blog.cloudera.com/blog/2013/03/how-to-use-the-apache-hbase-rest-interface-part-1/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;You can also use the phoenix query server to do the manipulation using http using sqlline.py. But the interface it not REST. Phoenix is built on Apache Calcite.&lt;/P&gt;&lt;P&gt;&lt;A href="http://phoenix.apache.org/server.html" target="_blank"&gt;http://phoenix.apache.org/server.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please "Accept" the answer if this helps.&lt;/P&gt;&lt;P&gt;-Aditya&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 00:18:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBASE-and-REST-API/m-p/233772#M80028</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2018-06-29T00:18:54Z</dc:date>
    </item>
  </channel>
</rss>

