[ https://issues.apache.org/jira/browse/HIVE-9017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244987#comment-14244987 ]
Xuefu Zhang commented on HIVE-9017: ----------------------------------- It seem the right way is to ask Spark to do the cleanup. These temp files can be marked as deleteOnJvmExit, then they will get wiped out when the JVM exits. > Clean up temp files of RSC [Spark Branch] > ----------------------------------------- > > Key: HIVE-9017 > URL: https://issues.apache.org/jira/browse/HIVE-9017 > Project: Hive > Issue Type: Sub-task > Components: Spark > Reporter: Rui Li > > Currently RSC will leave a lot of temp files in {{/tmp}}, including > {{*_lock}}, {{*_cache}}, {{spark-submit.*.properties}}, etc. > We should clean up these files or it will exhaust disk space. -- This message was sent by Atlassian JIRA (v6.3.4#6332)