accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keith-turner <>
Subject [GitHub] accumulo pull request: ACCUMULO-2388 Make clients retry in case of...
Date Fri, 12 Jun 2015 22:03:09 GMT
GitHub user keith-turner opened a pull request:

    ACCUMULO-2388 Make clients retry in case of HoldTimeoutException

    To test this patch, I made the following changes and ran the WriteLotsIt and ConditionalWriterIT
    diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/
    index 7c0eedc..4483fe8 100644
    --- a/server/tserver/src/main/java/org/apache/accumulo/tserver/
    +++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/
    @@ -469,6 +469,9 @@ public class TabletServerResourceManager {
       void waitUntilCommitsAreEnabled() {
    +    if(Math.random() < .1)
    +      throw new HoldTimeoutException("test");
         if (holdCommits) {
           long timeout = System.currentTimeMillis() + conf.getConfiguration().getTimeInMillis(Property.GENERAL_RPC_TIMEOUT);
           synchronized (commitHold) {

You can merge this pull request into a Git repository by running:

    $ git pull ACCUMULO-2388

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #38
commit 6965fb07c97cd752d6f5415a39e87b9ff3c1ba7e
Author: Keith Turner <>
Date:   2015-06-12T21:47:18Z

    ACCUMULO-2388 Make clients retry in case of HoldTimeoutException


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message