Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 c5016cb1c -> 988f6d1f8


HBASE-17631 Changed Canary interval to 60 seconds


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/988f6d1f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/988f6d1f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/988f6d1f

Branch: refs/heads/branch-1.3
Commit: 988f6d1f811112ace0d2079d5535d7a0e2f88ec6
Parents: c5016cb
Author: Jan Hentschel <[email protected]>
Authored: Mon Feb 13 00:24:31 2017 +0100
Committer: Jan Hentschel <[email protected]>
Committed: Sun Apr 1 14:01:40 2018 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/tool/Canary.java         | 2 +-
 src/main/asciidoc/_chapters/ops_mgt.adoc                           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/988f6d1f/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
----------------------------------------------------------------------
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
index 0c64bb7..d26dad0 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
@@ -439,7 +439,7 @@ public final class Canary implements Tool {
   private static final int ERROR_EXIT_CODE = 4;
   private static final int FAILURE_EXIT_CODE = 5;
 
-  private static final long DEFAULT_INTERVAL = 6000;
+  private static final long DEFAULT_INTERVAL = 60000;
 
   private static final long DEFAULT_TIMEOUT = 600000; // 10 mins
   private static final int MAX_THREADS_NUM = 16; // #threads to contact regions

http://git-wip-us.apache.org/repos/asf/hbase/blob/988f6d1f/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 a580bf8..322688a 100644
--- a/src/main/asciidoc/_chapters/ops_mgt.adoc
+++ b/src/main/asciidoc/_chapters/ops_mgt.adoc
@@ -174,7 +174,7 @@ $ ${HBASE_HOME}/bin/hbase canary -e test-0[1-2]
 
 ==== Run canary test as daemon mode
 
-Run repeatedly with interval defined in option `-interval` whose default value 
is 6 seconds.
+Run repeatedly with interval defined in option `-interval` whose default value 
is 60 seconds.
 This daemon will stop itself and return non-zero error code if any error 
occurs, due to the default value of option -f is true.
 
 ----

Reply via email to