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

Chinna Rao Lalam commented on HIVE-2181:
----------------------------------------

Hi MIS,  
   Thanks for the point as u said if we have multiple instances with the same 
scratch dir on same machine it wont help. But in this case if we give different 
value for the scratch dir it may help(I will double check this point).

   I will introduce one propety for this like hive.start.cleanup.scrachdir . 
This cleanup can trigger based on this property value. By default it will be 
turned off. If cleanup need to do while starting the server turn on. 

>  Clean up the scratch.dir (tmp/hive-root) while restarting Hive server. 
> ------------------------------------------------------------------------
>
>                 Key: HIVE-2181
>                 URL: https://issues.apache.org/jira/browse/HIVE-2181
>             Project: Hive
>          Issue Type: Bug
>          Components: Server Infrastructure
>    Affects Versions: 0.8.0
>         Environment: Suse linux, Hadoop 20.1, Hive 0.8
>            Reporter: sanoj mathew
>            Assignee: Chinna Rao Lalam
>            Priority: Minor
>              Labels: patch
>             Fix For: 0.8.0
>
>         Attachments: HIVE-2181.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Now queries leaves the map outputs under scratch.dir after execution. If the 
> hive server is stopped we need not keep the stopped server's map oputputs. So 
> whle starting the server we can clear the scratch.dir. This can help in 
> improved disk usage.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to