From 4dc38aeb2fc89cdeebb2801eb52ad0a643c58b7f Mon Sep 17 00:00:00 2001 From: Guanghao Zhang Date: Thu, 28 Dec 2017 14:48:54 +0800 Subject: [PATCH] HBASE-19653 Reduce the default hbase.client.start.log.errors.counter Signed-off-by: Michael Stack --- .../java/org/apache/hadoop/hbase/client/AsyncProcess.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 fc511f56cbc..2a93f59f4cc 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