Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3082

MAC processes still hang around when termination doesn't finish in 30s

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • mini
    • 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:

      1. Better diagnosis of why exactly the destroy and waitFor doesn't return
      2. (try to?) Guarantee 100% cleanup of processes when MiniAccumuloCluster.stop() is called.

      Attachments

        Activity

          People

            Unassigned Unassigned
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: