HBASE-10373 Add more details info for ACL group in HBase book

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1559836 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2014-01-20 21:53:18 +00:00
parent e93012ca83
commit d04450f683
1 changed files with 6 additions and 3 deletions

View File

@ -718,10 +718,13 @@ The HBase shell has been extended to provide simple commands for editing and upd
Grant
<para>
<programlisting>
grant &lt;user&gt; &lt;permissions&gt; [ &lt;table&gt; [ &lt;column family&gt; [ &lt;column qualifier&gt; ] ] ]
grant &lt;user|@group&gt; &lt;permissions&gt; [ &lt;table&gt; [ &lt;column family&gt; [ &lt;column qualifier&gt; ] ] ]
</programlisting>
</para>
<para>
<code class="code">&lt;user|@group&gt;</code> is user or group (start with character '@'), Groups are created and manipulated via the Hadoop group mapping service.
</para>
<para>
<code>&lt;permissions&gt;</code> is zero or more letters from the set "RWCA": READ('R'), WRITE('W'), CREATE('C'), ADMIN('A').
</para>
<para>
@ -732,7 +735,7 @@ The HBase shell has been extended to provide simple commands for editing and upd
</para>
<para>
<programlisting>
revoke &lt;user&gt; [ &lt;table&gt; [ &lt;column family&gt; [ &lt;column qualifier&gt; ] ] ]
revoke &lt;user|@group&gt; [ &lt;table&gt; [ &lt;column family&gt; [ &lt;column qualifier&gt; ] ] ]
</programlisting>
</para>
<para>
@ -741,7 +744,7 @@ The HBase shell has been extended to provide simple commands for editing and upd
<para>
The <code>alter</code> command has been extended to allow ownership assignment:
<programlisting>
alter 'tablename', {OWNER => 'username'}
alter 'tablename', {OWNER => 'username|@group'}
</programlisting>
</para>
<para>