[ 
https://issues.apache.org/jira/browse/TAJO-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084318#comment-14084318
 ] 

ASF GitHub Bot commented on TAJO-989:
-------------------------------------

Github user hyunsik commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/103#discussion_r15741058
  
    --- Diff: 
tajo-core/src/main/java/org/apache/tajo/master/querymaster/SubQuery.java ---
    @@ -363,7 +364,7 @@ public void addTask(QueryUnit task) {
        * It finalizes this subquery. It is only invoked when the subquery is 
succeeded.
        */
       public void complete() {
    -    cleanup();
    +    cleanup(getId());
    --- End diff --
    
    You can get the block id by calling ```block.getId()```. So, cleanup() 
doesn't need to take an execution block id.


> Cleanup of child blocks after parent execution block is complete
> ----------------------------------------------------------------
>
>                 Key: TAJO-989
>                 URL: https://issues.apache.org/jira/browse/TAJO-989
>             Project: Tajo
>          Issue Type: Improvement
>          Components: worker
>    Affects Versions: 0.9.0
>            Reporter: Jinho Kim
>            Assignee: Jinho Kim
>
> Child execution block working directory is not deleted until the query is 
> complete. there are too many files in directory. we should delete the child 
> execution block



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

Reply via email to