[
https://issues.apache.org/jira/browse/HIVE-2422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160067#comment-13160067
]
Priyadarshini commented on HIVE-2422:
-------------------------------------
I have executed this query.
select a.rollNo,b.rollNo from student a join student b on a.rollNo=b.rollNo
group by a.rollNo,b.rollNo;
The above query has spawned 2 MR jobs.
After the execution of the query, org.apache.hadoop.hive.ql.Context.clear()
method is deleting the ScratchDir of the query.
> remove the intermediate dir when the hive query finish
> -------------------------------------------------------
>
> Key: HIVE-2422
> URL: https://issues.apache.org/jira/browse/HIVE-2422
> Project: Hive
> Issue Type: Bug
> Reporter: He Yongqiang
> Assignee: He Yongqiang
>
> right now if one hive query got compiled to 2 mr jobs, and the first job's
> output feed the second job. When the query finish, the first job's output
> should be removed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira