You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Prabhu Joseph (JIRA)" <ji...@apache.org> on 2018/03/07 09:28:00 UTC

[jira] [Created] (OOZIE-3192) Oozie Delete runtime directory is not getting called in Services.destroy()

Prabhu Joseph created OOZIE-3192:
------------------------------------

             Summary: Oozie Delete runtime directory is not getting called in Services.destroy()
                 Key: OOZIE-3192
                 URL: https://issues.apache.org/jira/browse/OOZIE-3192
             Project: Oozie
          Issue Type: Bug
          Components: core
    Affects Versions: 4.2.0
            Reporter: Prabhu Joseph
            Assignee: Prabhu Joseph


Oozie Delete runtime directory as part of Services.destroy() is never getting called and so we observe below directories accumulate under /tmp.

 
{code:java}

[root@bigdata2 libtools]# ls  /tmp/oozie-oozi*
/tmp/oozie-oozi1000989288737845910.dir:
/tmp/oozie-oozi1036845504637967814.dir:
/tmp/oozie-oozi2051016416521814301.dir:
/tmp/oozie-oozi3194893167383531504.dir:
/tmp/oozie-oozi3750814910369499964.dir:
/tmp/oozie-oozi3988391799981903880.dir:
/tmp/oozie-oozi4308477407910112054.dir:
/tmp/oozie-oozi4717881377452217148.dir:
/tmp/oozie-oozi5894080803700698940.dir:
/tmp/oozie-oozi6367849996578983710.dir:
/tmp/oozie-oozi682733264186033679.dir:
/tmp/oozie-oozi7006370502487976692.dir:

{code}

Below code is never getting called as part of Services.destroy()

{code}
if (deleteRuntimeDir) {
try {
IOUtils.delete(new File(runtimeDir));
}
catch (IOException ex) {
log.error("Error deleting runtime directory [{0}], {1}", runtimeDir, ex.getMessage(), ex);
}
}
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)