hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sichi" <jsi...@fb.com>
Subject Re: Review Request: Clean up the scratch.dir (tmp/hive-root) while restarting Hive server.
Date Tue, 20 Sep 2011 19:39:17 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1481/#review1977
-----------------------------------------------------------



trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
<https://reviews.apache.org/r/1481/#comment4467>

    SCRATCH needs a T in it (everywhere).


- John


On 2011-09-16 17:30:40, chinna wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/1481/
> -----------------------------------------------------------
> 
> (Updated 2011-09-16 17:30:40)
> 
> 
> Review request for hive.
> 
> 
> Summary
> -------
> 
> 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.
> 
> Implemented a cleanup method in HiveServer and it will trigger based on the property
value "hive.start.cleanup.scrachdir"
> 
> 
> This addresses bug HIVE-2181.
>     https://issues.apache.org/jira/browse/HIVE-2181
> 
> 
> Diffs
> -----
> 
>   trunk/conf/hive-default.xml 1171488 
>   trunk/service/src/java/org/apache/hadoop/hive/service/HiveServer.java 1171488 
>   trunk/service/src/test/org/apache/hadoop/hive/service/TestHiveServer.java 1171488 
>   trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 1171488 
> 
> Diff: https://reviews.apache.org/r/1481/diff
> 
> 
> Testing
> -------
> 
> Added test case for this scenario.
> 
> 
> Thanks,
> 
> chinna
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message