HBASE-12737 Fixed typos hbase shell prompt in documents (Tatsuo Kawasaki)
This commit is contained in:
parent
fbf8b30aa6
commit
5d664efe8b
|
@ -1644,7 +1644,7 @@ $ for i in `cat conf/regionservers|sort`; do ./bin/graceful_stop.sh --restart --
|
|||
<listitem>
|
||||
<para>On the source cluster, in HBase Shell, add the destination cluster as a peer, using
|
||||
the <code>add_peer</code> command. The syntax is as follows:</para>
|
||||
<screen>hbase< add_peer 'ID' 'CLUSTER_KEY'</screen>
|
||||
<screen>hbase> add_peer 'ID' 'CLUSTER_KEY'</screen>
|
||||
<para>The ID is a string (prior to <link
|
||||
xlink:href="https://issues.apache.org/jira/browse/HBASE-11367">HBASE-11367</link>, it
|
||||
was a short integer), which <emphasis>must not contain a hyphen</emphasis> (see <link
|
||||
|
|
|
@ -1285,7 +1285,7 @@ public static void verifyAllowed(User user, AccessTestAction action, int count)
|
|||
<title>Define the List of Visibility Labels</title>
|
||||
<example>
|
||||
<title>HBase Shell</title>
|
||||
<screen>hbase< <userinput>add_labels [ 'admin', 'service', 'developer', 'test' ]</userinput></screen>
|
||||
<screen>hbase> <userinput>add_labels [ 'admin', 'service', 'developer', 'test' ]</userinput></screen>
|
||||
</example>
|
||||
<example>
|
||||
<title>Java API</title>
|
||||
|
@ -1313,9 +1313,9 @@ public static void addLabels() throws Exception {
|
|||
<title>Associate Labels with Users</title>
|
||||
<example>
|
||||
<title>HBase Shell</title>
|
||||
<screen>hbase< <userinput>set_auths 'service', [ 'service' ]</userinput></screen>
|
||||
<screen>hbase< <userinput>set_auths 'testuser', [ 'test' ]</userinput></screen>
|
||||
<screen>hbase< <userinput>set_auths 'qa', [ 'test', 'developer' ]</userinput></screen>
|
||||
<screen>hbase> <userinput>set_auths 'service', [ 'service' ]</userinput></screen>
|
||||
<screen>gbase> <userinput>set_auths 'testuser', [ 'test' ]</userinput></screen>
|
||||
<screen>hbase> <userinput>set_auths 'qa', [ 'test', 'developer' ]</userinput></screen>
|
||||
</example>
|
||||
<example>
|
||||
<title>Java API</title>
|
||||
|
@ -1339,9 +1339,9 @@ public void testSetAndGetUserAuths() throws Throwable {
|
|||
<title>Clear Labels From Users</title>
|
||||
<example>
|
||||
<title>HBase Shell</title>
|
||||
<screen>hbase< <userinput>clear_auths 'service', [ 'service' ]</userinput></screen>
|
||||
<screen>hbase< <userinput>clear_auths 'testuser', [ 'test' ]</userinput></screen>
|
||||
<screen>hbase< <userinput>clear_auths 'qa', [ 'test', 'developer' ]</userinput></screen>
|
||||
<screen>hbase> <userinput>clear_auths 'service', [ 'service' ]</userinput></screen>
|
||||
<screen>hbase> <userinput>clear_auths 'testuser', [ 'test' ]</userinput></screen>
|
||||
<screen>hbase> <userinput>clear_auths 'qa', [ 'test', 'developer' ]</userinput></screen>
|
||||
</example>
|
||||
<example>
|
||||
<title>Java API</title>
|
||||
|
@ -1363,11 +1363,11 @@ try {
|
|||
given version of the cell.</para>
|
||||
<example>
|
||||
<title>HBase Shell</title>
|
||||
<screen>hbase< <userinput>set_visibility 'user', 'admin|service|developer', \
|
||||
<screen>hbase> <userinput>set_visibility 'user', 'admin|service|developer', \
|
||||
{ COLUMNS => 'i' }</userinput></screen>
|
||||
<screen>hbase< <userinput>set_visibility 'user', 'admin|service', \
|
||||
<screen>hbase> <userinput>set_visibility 'user', 'admin|service', \
|
||||
{ COLUMNS => ' pii' }</userinput></screen>
|
||||
<screen>hbase< <userinput>COLUMNS => [ 'i', 'pii' ], \
|
||||
<screen>hbase> <userinput>COLUMNS => [ 'i', 'pii' ], \
|
||||
FILTER => "(PrefixFilter ('test'))" }</userinput></screen>
|
||||
</example>
|
||||
<note>
|
||||
|
|
Loading…
Reference in New Issue