Description
To start ZooKeeper in a way that won't interfere with other processes on the node, we have to choose a "random" port on the node and then configure Accumulo with that port (as we don't have a means to get the random port that ZooKeeper itself would bind to).
The problem is that there is a delay between our choosing of a random port and ZooKeeper binding to that port which introduces a race condition.
Attachments
Issue Links
- relates to
-
ACCUMULO-3269 nondeterministic failure of MiniAccumuloClusterStartStopTest
- Resolved
-
ACCUMULO-3287 CyclicReplicationIT failed because it couldn't start ZK
- Resolved
-
ACCUMULO-3306 Consider removing port-guess portion of PortUtils.getRandomFreePort
- Resolved