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, 27 Oct 2014 22:08:33 GMT


Josh Elser commented on ACCUMULO-3269:

[~afuchs], did you check the log to see why ZooKeeper didn't start? ACCUMULO-3233 is likely
of interest. Most times I see this, I think because the "random" port we chose for ZK ended
up in use before we could start ZK.

It's difficult to fix this in MiniAccumuloCluster itself because we've already written the
configuration (both zoo.cfg and accumulo-site.xml) with the desired port. You could take the
same retry logic I added to SimpleMacIT and ConfigurableMacIT to retry things in this test
as a short-term fix. Ultimately, it would be nice is MAC could be smart enough to retry a
few times when it sees this happen.

> nondeterministic failure of MiniAccumuloClusterStartStopTest
> ------------------------------------------------------------
>                 Key: ACCUMULO-3269
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Adam Fuchs
>             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