hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MIS (JIRA)" <>
Subject [jira] [Commented] (HIVE-2181) Clean up the scratch.dir (tmp/hive-root) while restarting Hive server.
Date Thu, 11 Aug 2011 18:10:32 GMT


MIS commented on HIVE-2181:

-1 for the issue.
What if I'm running multiple hive servers on different port in the same machine {With my metastore
db on a mysql server}, then if one of the server instances restarts, it would end up deleting
the scratch dir, which would affect other running instances as well. Even if we specify different
scratch dir for each of the instances, I doubt about the value add from this property.

>  Clean up the scratch.dir (tmp/hive-root) while restarting Hive server. 
> ------------------------------------------------------------------------
>                 Key: HIVE-2181
>                 URL:
>             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:


View raw message