Repository: hbase Updated Branches: refs/heads/master d57001ee2 -> c8dff328c
HBASE-20313 Canary documentation is incorrect in reference guide Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c8dff328 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c8dff328 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c8dff328 Branch: refs/heads/master Commit: c8dff328cb39e5a3a5a42c6b73fca7af707a0bcb Parents: d57001e Author: Peter Somogyi <psomo...@apache.org> Authored: Thu Mar 29 13:18:17 2018 +0200 Committer: Peter Somogyi <psomo...@apache.org> Committed: Sat Mar 31 12:06:45 2018 +0200 ---------------------------------------------------------------------- src/main/asciidoc/_chapters/ops_mgt.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/c8dff328/src/main/asciidoc/_chapters/ops_mgt.adoc ---------------------------------------------------------------------- diff --git a/src/main/asciidoc/_chapters/ops_mgt.adoc b/src/main/asciidoc/_chapters/ops_mgt.adoc index bb2b41a..10b9d00 100644 --- a/src/main/asciidoc/_chapters/ops_mgt.adoc +++ b/src/main/asciidoc/_chapters/ops_mgt.adoc @@ -79,7 +79,7 @@ Others, such as `hbase shell` (<<shell>>), `hbase upgrade` (<<upgrading>>), and === Canary There is a Canary class can help users to canary-test the HBase cluster status, with every column-family for every regions or RegionServer's granularity. -To see the usage, use the `--help` parameter. +To see the usage, use the `-help` parameter. ---- $ ${HBASE_HOME}/bin/hbase canary -help @@ -192,10 +192,10 @@ This daemon will stop itself and return non-zero error code if any error occurs, $ ${HBASE_HOME}/bin/hbase canary -daemon ---- -Run repeatedly with internal 5 seconds and will not stop itself even if errors occur in the test. +Run repeatedly with 5 second intervals and will not stop itself even if errors occur in the test. ---- -$ ${HBASE_HOME}/bin/hbase canary -daemon -interval 50000 -f false +$ ${HBASE_HOME}/bin/hbase canary -daemon -interval 5 -f false ---- ==== Force timeout if canary test stuck @@ -205,7 +205,7 @@ Because of this we provide a timeout option to kill the canary test and return a This run sets the timeout value to 60 seconds, the default value is 600 seconds. ---- -$ ${HBASE_HOME}/bin/hbase canary -t 600000 +$ ${HBASE_HOME}/bin/hbase canary -t 60000 ---- ==== Enable write sniffing in canary @@ -234,7 +234,7 @@ while returning normal exit code. To treat read / write failure as error, you ca with the `-treatFailureAsError` option. When enabled, read / write failure would result in error exit code. ---- -$ ${HBASE_HOME}/bin/hbase canary --treatFailureAsError +$ ${HBASE_HOME}/bin/hbase canary -treatFailureAsError ---- ==== Running Canary in a Kerberos-enabled Cluster @@ -266,7 +266,7 @@ This example shows each of the properties with valid values. <value>/etc/hbase/conf/keytab.krb5</value> </property> <!-- optional params --> -property> +<property> <name>hbase.client.dns.interface</name> <value>default</value> </property>