You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Kun Liu (JIRA)" <ji...@apache.org> on 2017/04/04 21:36:41 UTC

[jira] [Created] (TOREE-403) Temporary files/directories should be deleted after a kernel shutdown

Kun Liu created TOREE-403:
-----------------------------

             Summary: Temporary files/directories should be deleted after a kernel shutdown
                 Key: TOREE-403
                 URL: https://issues.apache.org/jira/browse/TOREE-403
             Project: TOREE
          Issue Type: Improvement
          Components: Kernel
    Affects Versions: 0.2.0
            Reporter: Kun Liu


For Scala kernel, there are 3 types of temporary folders that created, by default under /tmp/ dir, that won't be deleted automatically.

1) toree_add_deps<RANDOM ID>
Right after a Scala kernel is opened, saves JARs by addDeps magic
Note this will be created even before the addDeps is called the first time
 
2) toree-dependency-downloads-<RANDOM ID>
Also created right after a new Scala kernel is opened
This implies the num of 1) and 2) dirs are equal
(BTW, why this folder is needed? As it is always empty in my case)
 
3) toree_add_jars<RANDOM ID>
After addJar magic is called, the JAR file would be downloaded to this temporary dir

Should delete them whenever a kernel is shutdown or killed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)