HBASE-19653 Reduce the default hbase.client.start.log.errors.counter
Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
parent
33ce14cb29
commit
4dc38aeb2f
|
@ -95,12 +95,12 @@ class AsyncProcess {
|
||||||
/**
|
/**
|
||||||
* Configure the number of failures after which the client will start logging. A few failures
|
* 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
|
* 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.
|
* this stage.
|
||||||
*/
|
*/
|
||||||
public static final String START_LOG_ERRORS_AFTER_COUNT_KEY =
|
public static final String START_LOG_ERRORS_AFTER_COUNT_KEY =
|
||||||
"hbase.client.start.log.errors.counter";
|
"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
|
* Configuration to decide whether to log details for batch error
|
||||||
|
|
Loading…
Reference in New Issue