[ 
https://issues.apache.org/jira/browse/HBASE-19653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16305711#comment-16305711
 ] 

Hudson commented on HBASE-19653:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #4301 (See 
[https://builds.apache.org/job/HBase-Trunk_matrix/4301/])
HBASE-19653 Reduce the default hbase.client.start.log.errors.counter (stack: 
rev 78013a0c1e7deabbdc59af6b269191ece5546557)
* (edit) 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java


> Reduce the default hbase.client.start.log.errors.counter
> --------------------------------------------------------
>
>                 Key: HBASE-19653
>                 URL: https://issues.apache.org/jira/browse/HBASE-19653
>             Project: HBase
>          Issue Type: Sub-task
>          Components: defaults
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>            Priority: Trivial
>             Fix For: 2.0.0-beta-1
>
>         Attachments: HBASE-19653.master.001.patch
>
>
> As we reduce the default retries number to 10 and now the default start log 
> errors counter is 9. So it only log the error at the last retry. So we should 
> reduce the default hbase.client.start.log.errors.counter, too.
> {code}
>   /**
>    * 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
>    * 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;
> {code}
> {code}
> public static final int [] RETRY_BACKOFF = {1, 2, 3, 5, 10, 20, 40, 100, 100, 
> 100, 100, 200, 200};
> public static final long DEFAULT_HBASE_CLIENT_PAUSE = 100;
> {code}
> The default pause is 100ms and 100ms * 10 = 1s. The old comment of 
> DEFAULT_START_LOG_ERRORS_AFTER_COUNT seems not right...
> Open this issue to reduce the default hbase.client.start.log.errors.counter 
> to 5.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to