You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ning Zhang (JIRA)" <ji...@apache.org> on 2010/04/14 07:28:51 UTC

[jira] Commented: (HIVE-1306) cleanup the jobscratchdir

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

Ning Zhang commented on HIVE-1306:
----------------------------------

It seems we need to register an OutputCommitter: http://hadoop.apache.org/common/docs/current/mapred_tutorial.html#OutputCommitter

> 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
>
>
> 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