One method of assigning random ports (currently used by the MiniAccumuloCluster) involves finding open ports and configuring Accumulo with them. However, the selected ports could become occupied before the Accumulo processes are able to claim them.
All the processes can be assigned random ports by setting the desired port to 0, but not all of them are then discoverable. In particular, the master, monitor and proxy would need to be addressed.
- is related to
ACCUMULO-1778 Create utility for retrieving monitor location
THRIFT-1944 Binding to zero port
- relates to
THRIFT-2188 allow java servers to bind to a random port, and get that port back out of the transport