accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-3269) nondeterministic failure of MiniAccumuloClusterStartStopTest
Date Mon, 08 Dec 2014 19:54:13 GMT


Josh Elser commented on ACCUMULO-3269:

So, I don't have any understanding as to why this helps, but, when starting ZooKeeper and
we wait to be able to connect to it, we "spin" fast. We get an exception and we immediately

Adding a {{Thread.sleep(1000)}} in the catch block around sending "ruok" to the ZooKeeper
server appears to prevent this from happening. I went from being unable to run the unit tests
in the minicluster module for more than a few minutes in repetition to being able to run them
for 20mins...

I have no idea why this "helps".

> nondeterministic failure of MiniAccumuloClusterStartStopTest
> ------------------------------------------------------------
>                 Key: ACCUMULO-3269
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Adam Fuchs
>            Assignee: Josh Elser
>             Fix For: 1.7.0
> When building in master (mvn package -P assemble) I got the following error. Ran the
build again (also mvn package -P assemble, with no clean inbetween) and the whole build succeeded.
> {code}
> Running org.apache.accumulo.minicluster.MiniAccumuloClusterStartStopTest
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 31.103 sec <<<
FAILURE! - in org.apache.accumulo.minicluster.MiniAccumuloClusterStartStopTest
> multipleStopsIsAllowed(org.apache.accumulo.minicluster.MiniAccumuloClusterStartStopTest)
 Time elapsed: 20.016 sec  <<< ERROR!
> org.apache.accumulo.minicluster.impl.ZooKeeperBindException: Zookeeper did not start
within 20 seconds. Check the logs in /tmp/junit1360063600921880650/logs for errors.  Last
exception: Connection refused
> 	at org.apache.accumulo.minicluster.impl.MiniAccumuloClusterImpl.start(
> 	at org.apache.accumulo.minicluster.MiniAccumuloCluster.start(
> 	at org.apache.accumulo.minicluster.MiniAccumuloClusterStartStopTest.multipleStopsIsAllowed(
> {code}

This message was sent by Atlassian JIRA

View raw message