You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2017/12/28 15:56:06 UTC

hbase git commit: HBASE-19653 Reduce the default hbase.client.start.log.errors.counter

Repository: hbase
Updated Branches:
  refs/heads/master 8580ba7b6 -> 78013a0c1


HBASE-19653 Reduce the default hbase.client.start.log.errors.counter

Signed-off-by: Michael Stack <st...@apache.org>


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

Branch: refs/heads/master
Commit: 78013a0c1e7deabbdc59af6b269191ece5546557
Parents: 8580ba7
Author: Guanghao Zhang <zg...@apache.org>
Authored: Thu Dec 28 14:48:54 2017 +0800
Committer: Michael Stack <st...@apache.org>
Committed: Thu Dec 28 07:55:57 2017 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/client/AsyncProcess.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/78013a0c/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java
index fc511f5..2a93f59 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java
@@ -95,12 +95,12 @@ class AsyncProcess {
   /**
    * Configure the number of failures after which the client will start logging. A few failures
    * is fine: region moved, then is not opened, then is overloaded. We try to have an acceptable
-   * heuristic for the number of errors we don't log. 9 was chosen because we wait for 1s at
+   * heuristic for the number of errors we don't log. 5 was chosen because we wait for 1s at
    * this stage.
    */
   public static final String START_LOG_ERRORS_AFTER_COUNT_KEY =
       "hbase.client.start.log.errors.counter";
-  public static final int DEFAULT_START_LOG_ERRORS_AFTER_COUNT = 9;
+  public static final int DEFAULT_START_LOG_ERRORS_AFTER_COUNT = 5;
 
   /**
    * Configuration to decide whether to log details for batch error