You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/06/08 12:51:21 UTC

[jira] [Commented] (HBASE-15615) Wrong sleep time when RegionServerCallable need retry

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

Hudson commented on HBASE-15615:
--------------------------------

FAILURE: Integrated in HBase-0.98-matrix #353 (See [https://builds.apache.org/job/HBase-0.98-matrix/353/])
HBASE-15615 Wrong sleep time when RegionServerCallable need retry (apurtell: rev 2d3ef97bcd9837223f6866928d336e54e993726a)
* hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestHCM.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestConnectionUtils.java
* hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionServerCallable.java
* hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionUtils.java


> Wrong sleep time when RegionServerCallable need retry
> -----------------------------------------------------
>
>                 Key: HBASE-15615
>                 URL: https://issues.apache.org/jira/browse/HBASE-15615
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 1.0.0, 2.0.0, 1.1.0, 1.2.0, 1.3.0, 0.98.19
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>             Fix For: 1.3.0, 1.2.2, 0.98.20, 1.1.6
>
>         Attachments: HBASE-15615-branch-0.98.patch, HBASE-15615-branch-1-v3.patch, HBASE-15615-branch-1.0-v2.patch, HBASE-15615-branch-1.1-v2.patch, HBASE-15615-branch-1.1-v2.patch, HBASE-15615-branch-1.patch, HBASE-15615-v1.patch, HBASE-15615-v1.patch, HBASE-15615-v2.patch, HBASE-15615-v2.patch, HBASE-15615-v3.patch, HBASE-15615-v4.patch, HBASE-15615-v5.patch, HBASE-15615.patch
>
>
> In RpcRetryingCallerImpl, it get pause time by expectedSleep = callable.sleep(pause, tries + 1); And in RegionServerCallable, it get pasue time by sleep = ConnectionUtils.getPauseTime(pause, tries + 1). So tries will be bumped up twice. And the pasue time is 3 * hbase.client.pause when tries is 0.
> RETRY_BACKOFF = {1, 2, 3, 5, 10, 20, 40, 100, 100, 100, 100, 200, 200}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)