[ https://issues.apache.org/jira/browse/HIVE-1306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856768#action_12856768 ]
Ning Zhang commented on HIVE-1306: ---------------------------------- I didn't find the user of any OutputCommitter in Hive. Can you point me the file? Also it seems the scratch dir is actually configured under hdfs://tmp/<userid>-hive/... Let's talk tomorrow. > 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