hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-19653 Reduce the default hbase.client.start.log.errors.counter
Date Thu, 28 Dec 2017 15:56:29 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-2 33ce14cb2 -> 4dc38aeb2


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

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


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

Branch: refs/heads/branch-2
Commit: 4dc38aeb2fc89cdeebb2801eb52ad0a643c58b7f
Parents: 33ce14c
Author: Guanghao Zhang <zghao@apache.org>
Authored: Thu Dec 28 14:48:54 2017 +0800
Committer: Michael Stack <stack@apache.org>
Committed: Thu Dec 28 07:56:22 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/4dc38aeb/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


Mime
View raw message