[ 
https://issues.apache.org/jira/browse/HIVE-1306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856994#action_12856994
 ] 

Namit Jain commented on HIVE-1306:
----------------------------------

Can you look at the patch - there were some diffs. I am still looking at them.
But, as I said, the scratchDir was not cleaned up, which should be if shutdown 
hook works as expected.

jobScratchDir is not a problem - I guess we can do the same for that also, but 
that is not a priority right now

> cleanup the jobscratchdir
> -------------------------
>
>                 Key: HIVE-1306
>                 URL: https://issues.apache.org/jira/browse/HIVE-1306
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>             Fix For: 0.6.0
>
>         Attachments: hive.1306.1.patch
>
>
> Currently, the job scratch directory is cleaned up at the end of the hive 
> query - 
> It is in a finally block, which will not work if the process is killed.
> It should be a shutdown hook - which will take care of these scenarios.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to