Repository: hbase Updated Branches: refs/heads/master fbf8b30aa -> 5d664efe8
HBASE-12737 Fixed typos hbase shell prompt in documents (Tatsuo Kawasaki) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/5d664efe Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5d664efe Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5d664efe Branch: refs/heads/master Commit: 5d664efe8bca13b9a6467a7feb4a321f7702f2d3 Parents: fbf8b30 Author: stack <[email protected]> Authored: Mon Dec 22 08:45:36 2014 -0800 Committer: stack <[email protected]> Committed: Mon Dec 22 08:45:36 2014 -0800 ---------------------------------------------------------------------- src/main/docbkx/ops_mgt.xml | 2 +- src/main/docbkx/security.xml | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/5d664efe/src/main/docbkx/ops_mgt.xml ---------------------------------------------------------------------- diff --git a/src/main/docbkx/ops_mgt.xml b/src/main/docbkx/ops_mgt.xml index dedd238..20788bf 100644 --- a/src/main/docbkx/ops_mgt.xml +++ b/src/main/docbkx/ops_mgt.xml @@ -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 http://git-wip-us.apache.org/repos/asf/hbase/blob/5d664efe/src/main/docbkx/security.xml ---------------------------------------------------------------------- diff --git a/src/main/docbkx/security.xml b/src/main/docbkx/security.xml index 61493cd..c9db37a 100644 --- a/src/main/docbkx/security.xml +++ b/src/main/docbkx/security.xml @@ -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>
