You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2015/06/10 01:31:01 UTC

[jira] [Commented] (HIVE-2181) Clean up the scratch.dir (tmp/hive-root) while restarting Hive server.

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

Lefty Leverenz commented on HIVE-2181:
--------------------------------------

Doc note:  This added configuration parameter *hive.start.cleanup.scratchdir* to HiveConf.java in release 0.8.1 (not 0.8.0 as indicated in Fix Version).

HIVE-10415 fixed a bug in release 1.3.0.

*hive.start.cleanup.scratchdir* is documented in the wiki here:

* [Configuration Properties -- hive.start.cleanup.scratchdir | https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.start.cleanup.scratchdir] 

>  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
>             Fix For: 0.8.0
>
>         Attachments: HIVE-2181.1.patch, HIVE-2181.2.patch, HIVE-2181.3.patch, HIVE-2181.4.patch, HIVE-2181.5.patch, HIVE-2181.6.patch, 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 was sent by Atlassian JIRA
(v6.3.4#6332)