You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2014/03/20 21:23:44 UTC

[jira] [Created] (ACCUMULO-2512) MAC stop should waitFor processes

Keith Turner created ACCUMULO-2512:
--------------------------------------

             Summary: MAC stop should waitFor processes
                 Key: ACCUMULO-2512
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2512
             Project: Accumulo
          Issue Type: Bug
            Reporter: Keith Turner
             Fix For: 1.6.0


[~elserj] ran into an issue w/ VolumeIT.testDirtyReplaceVolumes() while working on ACCUMULO-2061 where a file was not being a moved.  The test would rename a directory after stopping MAC, however MAC would create a file in the old location.  We determined the cause of the problem seems to be that MAC.stop() does not call waitFor() after destroying processes.   Calling Process.destroy() seems to asynchronously kill a process (via SIGTERM).  So after calling MAC.stop() tserver processes were still running for a bit.



--
This message was sent by Atlassian JIRA
(v6.2#6252)