[
https://issues.apache.org/jira/browse/DRILL-2100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15221842#comment-15221842
]
ASF GitHub Bot commented on DRILL-2100:
---------------------------------------
Github user vdiravka commented on the pull request:
https://github.com/apache/drill/pull/454#issuecomment-204436770
I made changes due to your suggestions.
Also I deleted spaces in one level directory. Is it better?
`tmp/drill/spill/29014cb9-7eda-f4d1-f216-ce1baf83f58c_majorfragment2_minorfragment0_operator2`
Added set for deleting paths, because
`drill.exec.sort.external.spill.directories` parameter can has several
directories for spooling.
For the case when drillbit process is killed to delete temporary spill
folders I use `fs.deleteOnExit()`.
> Drill not deleting spooling files
> ---------------------------------
>
> Key: DRILL-2100
> URL: https://issues.apache.org/jira/browse/DRILL-2100
> Project: Apache Drill
> Issue Type: Bug
> Components: Execution - Relational Operators
> Affects Versions: 0.8.0
> Reporter: Abhishek Girish
> Assignee: Vitalii Diravka
> Fix For: Future
>
>
> Currently, after forcing queries to use an external sort by switching off
> hash join/agg causes spill-to-disk files accumulating.
> This causes issues with disk space availability when the spill is configured
> to be on the local file system (/tmp/drill). Also not optimal when configured
> to use DFS (custom).
> Drill must clean up all temporary files created after a query completes or
> after a drillbit restart.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)