knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmc...@apache.org
Subject svn commit: r1588700 - in /knox: site/books/knox-0-4-0/knox-0-4-0-new.html site/books/knox-0-4-0/knox-0-4-0.html trunk/books/0.4.0/service_hbase.md
Date Sat, 19 Apr 2014 19:42:00 GMT
Author: lmccay
Date: Sat Apr 19 19:42:00 2014
New Revision: 1588700

URL: http://svn.apache.org/r1588700
Log:
completed hbase TODOs

Modified:
    knox/site/books/knox-0-4-0/knox-0-4-0-new.html
    knox/site/books/knox-0-4-0/knox-0-4-0.html
    knox/trunk/books/0.4.0/service_hbase.md

Modified: knox/site/books/knox-0-4-0/knox-0-4-0-new.html
URL: http://svn.apache.org/viewvc/knox/site/books/knox-0-4-0/knox-0-4-0-new.html?rev=1588700&r1=1588699&r2=1588700&view=diff
==============================================================================
--- knox/site/books/knox-0-4-0/knox-0-4-0-new.html (original)
+++ knox/site/books/knox-0-4-0/knox-0-4-0-new.html Sat Apr 19 19:42:00 2014
@@ -1921,7 +1921,19 @@ curl -i -k -u guest:guest-password -X DE
   <ul>
     <li><code>Workflow.status(session).jobId(jobId).now().string</code></li>
   </ul></li>
-</ul></div><div id="HBase"><h3><a id="HBase"></a>HBase</h3><p>TODO</p><h4><a
id="HBase+URL+Mapping"></a>HBase URL Mapping</h4><p>TODO</p><h4><a
id="HBase+Examples"></a>HBase Examples</h4><p>TODO</p><p>The
examples below illustrate the set of basic operations with HBase instance using Stargate REST
API. Use following link to get more more details about HBase/Stargate API: <a href="http://wiki.apache.org/hadoop/Hbase/Stargate">http://wiki.apache.org/hadoop/Hbase/Stargate</a>.</p><p>Note:
Some HBase examples may not work due to enabled <a href="https://hbase.apache.org/book/hbase.accesscontrol.configuration.html">Access
Control</a>. User may not be granted for performing operations in samples. In order
to check if Access Control is configured in the HBase instance verify hbase-site.xml for a
presence of <code>org.apache.hadoop.hbase.security.access.AccessController</code>
in <code>hbase.coprocessor.master.classes</code> and <code>hbase.coprocessor.region.classes</code>
properties.<br/>
 To grant the Read, Write, Create permissions to <code>guest</code> user execute
the following command:</p>
+</ul></div><div id="HBase"><h3><a id="HBase"></a>HBase</h3><p>The
HBase REST API is provided by the Stargate service for HBase. See the HBase Stargate Setup
section below for getting started with stargate and Knox with the Hortonworks Sandbox environment.</p><h4><a
id="HBase+URL+Mapping"></a>HBase URL Mapping</h4>
+<table>
+  <tbody>
+    <tr>
+      <td>Gateway </td>
+      <td><code>https://{gateway-host}:{gateway-port}/{gateway-path}/{cluster-name}/hbase</code>
</td>
+    </tr>
+    <tr>
+      <td>Cluster </td>
+      <td><code>http://{stargate-host}:60080/</code> </td>
+    </tr>
+  </tbody>
+</table><h4><a id="HBase+Examples"></a>HBase Examples</h4><p>The
examples below illustrate the set of basic operations with HBase instance using Stargate REST
API. Use following link to get more more details about HBase/Stargate API: <a href="http://wiki.apache.org/hadoop/Hbase/Stargate">http://wiki.apache.org/hadoop/Hbase/Stargate</a>.</p><p>Note:
Some HBase examples may not work due to enabled <a href="https://hbase.apache.org/book/hbase.accesscontrol.configuration.html">Access
Control</a>. User may not be granted for performing operations in samples. In order
to check if Access Control is configured in the HBase instance verify hbase-site.xml for a
presence of <code>org.apache.hadoop.hbase.security.access.AccessController</code>
in <code>hbase.coprocessor.master.classes</code> and <code>hbase.coprocessor.region.classes</code>
properties.<br/>To grant the Read, Write, Create permissions to <code>guest</code>
user execute the following command:</p>
 <pre><code>echo grant &#39;guest&#39;, &#39;RWC&#39; | hbase
shell
 </code></pre><p>If you are using a cluster secured with Kerberos you will
need to have used <code>kinit</code> to authenticate to the KDC </p><h4><a
id="HBase+Stargate+Setup"></a>HBase Stargate Setup</h4><h4><a id="Launch+Stargate"></a>Launch
Stargate</h4><p>The command below launches the Stargate daemon on port 60080</p>
 <pre><code>sudo /usr/lib/hbase/bin/hbase-daemon.sh start rest -p 60080

Modified: knox/site/books/knox-0-4-0/knox-0-4-0.html
URL: http://svn.apache.org/viewvc/knox/site/books/knox-0-4-0/knox-0-4-0.html?rev=1588700&r1=1588699&r2=1588700&view=diff
==============================================================================
--- knox/site/books/knox-0-4-0/knox-0-4-0.html (original)
+++ knox/site/books/knox-0-4-0/knox-0-4-0.html Sat Apr 19 19:42:00 2014
@@ -1921,7 +1921,19 @@ curl -i -k -u guest:guest-password -X DE
   <ul>
     <li><code>Workflow.status(session).jobId(jobId).now().string</code></li>
   </ul></li>
-</ul><h3><a id="HBase"></a>HBase</h3><p>TODO</p><h4><a
id="HBase+URL+Mapping"></a>HBase URL Mapping</h4><p>TODO</p><h4><a
id="HBase+Examples"></a>HBase Examples</h4><p>TODO</p><p>The
examples below illustrate the set of basic operations with HBase instance using Stargate REST
API. Use following link to get more more details about HBase/Stargate API: <a href="http://wiki.apache.org/hadoop/Hbase/Stargate">http://wiki.apache.org/hadoop/Hbase/Stargate</a>.</p><p>Note:
Some HBase examples may not work due to enabled <a href="https://hbase.apache.org/book/hbase.accesscontrol.configuration.html">Access
Control</a>. User may not be granted for performing operations in samples. In order
to check if Access Control is configured in the HBase instance verify hbase-site.xml for a
presence of <code>org.apache.hadoop.hbase.security.access.AccessController</code>
in <code>hbase.coprocessor.master.classes</code> and <code>hbase.coprocessor.region.classes</code>
properties.<br/>To grant the Read, Wri
 te, Create permissions to <code>guest</code> user execute the following command:</p>
+</ul><h3><a id="HBase"></a>HBase</h3><p>The HBase REST
API is provided by the Stargate service for HBase. See the HBase Stargate Setup section below
for getting started with stargate and Knox with the Hortonworks Sandbox environment.</p><h4><a
id="HBase+URL+Mapping"></a>HBase URL Mapping</h4>
+<table>
+  <tbody>
+    <tr>
+      <td>Gateway </td>
+      <td><code>https://{gateway-host}:{gateway-port}/{gateway-path}/{cluster-name}/hbase</code>
</td>
+    </tr>
+    <tr>
+      <td>Cluster </td>
+      <td><code>http://{stargate-host}:60080/</code> </td>
+    </tr>
+  </tbody>
+</table><h4><a id="HBase+Examples"></a>HBase Examples</h4><p>The
examples below illustrate the set of basic operations with HBase instance using Stargate REST
API. Use following link to get more more details about HBase/Stargate API: <a href="http://wiki.apache.org/hadoop/Hbase/Stargate">http://wiki.apache.org/hadoop/Hbase/Stargate</a>.</p><p>Note:
Some HBase examples may not work due to enabled <a href="https://hbase.apache.org/book/hbase.accesscontrol.configuration.html">Access
Control</a>. User may not be granted for performing operations in samples. In order
to check if Access Control is configured in the HBase instance verify hbase-site.xml for a
presence of <code>org.apache.hadoop.hbase.security.access.AccessController</code>
in <code>hbase.coprocessor.master.classes</code> and <code>hbase.coprocessor.region.classes</code>
properties.<br/>To grant the Read, Write, Create permissions to <code>guest</code>
user execute the following command:</p>
 <pre><code>echo grant &#39;guest&#39;, &#39;RWC&#39; | hbase
shell
 </code></pre><p>If you are using a cluster secured with Kerberos you will
need to have used <code>kinit</code> to authenticate to the KDC </p><h4><a
id="HBase+Stargate+Setup"></a>HBase Stargate Setup</h4><h4><a id="Launch+Stargate"></a>Launch
Stargate</h4><p>The command below launches the Stargate daemon on port 60080</p>
 <pre><code>sudo /usr/lib/hbase/bin/hbase-daemon.sh start rest -p 60080

Modified: knox/trunk/books/0.4.0/service_hbase.md
URL: http://svn.apache.org/viewvc/knox/trunk/books/0.4.0/service_hbase.md?rev=1588700&r1=1588699&r2=1588700&view=diff
==============================================================================
--- knox/trunk/books/0.4.0/service_hbase.md (original)
+++ knox/trunk/books/0.4.0/service_hbase.md Sat Apr 19 19:42:00 2014
@@ -17,16 +17,17 @@
 
 ### HBase ###
 
-TODO
+The HBase REST API is provided by the Stargate service for HBase.
+See the HBase Stargate Setup section below for getting started with stargate and Knox with
the Hortonworks Sandbox environment.
 
 #### HBase URL Mapping ####
 
-TODO
+| ------- | -----------------------------------------------------------------------------
|
+| Gateway | `https://{gateway-host}:{gateway-port}/{gateway-path}/{cluster-name}/hbase` |
+| Cluster | `http://{stargate-host}:60080/`                                         |
 
 #### HBase Examples ####
 
-TODO
-
 The examples below illustrate the set of basic operations with HBase instance using Stargate
REST API.
 Use following link to get more more details about HBase/Stargate API: http://wiki.apache.org/hadoop/Hbase/Stargate.
 



Mime
View raw message