Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
Description
I added some support in ACCUMULO-2764 which executes the Process.destroy() and Process.waitFor() that we call to stop the MAC processes with a timeout to prevent the Maven build from hanging indefinitely.
However, when we hit the timeout...
2014-08-24 04:49:36,370 [impl.MiniAccumuloClusterImpl] WARN : Master did not fully stop after 30 seconds java.util.concurrent.TimeoutException at java.util.concurrent.FutureTask.get(FutureTask.java:201) at org.apache.accumulo.minicluster.impl.MiniAccumuloClusterImpl.stopProcessWithTimeout(MiniAccumuloClusterImpl.java:755) at org.apache.accumulo.minicluster.impl.MiniAccumuloClusterImpl.stop(MiniAccumuloClusterImpl.java:645) at org.apache.accumulo.minicluster.impl.MiniAccumuloClusterGCTest.tea
The processes will hang around on the host system.
Need to get:
- Better diagnosis of why exactly the destroy and waitFor doesn't return
- (try to?) Guarantee 100% cleanup of processes when MiniAccumuloCluster.stop() is called.