You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Babe Ruth <gt...@hotmail.com> on 2013/07/17 05:55:27 UTC

/tmp/hive-username folder in HDFS

Hi Everyone,   Does a setting exist to autotrim the /tmp/hive-username folder?   I have several TBs of space from old jobs and it is a pain to remember to remove them every few weeks.

Thanks,George 		 	   		  

Re: /tmp/hive-username folder in HDFS

Posted by Edward Capriolo <ed...@gmail.com>.
https://github.com/edwardcapriolo/filecrush

The clean.Clean class in filecrush.

https://github.com/edwardcapriolo/filecrush/blob/master/src/main/java/com/m6d/filecrush/clean/Clean.java

We use it to remove these files once they pass a certain age.


On Tue, Jul 16, 2013 at 11:55 PM, Babe Ruth <gt...@hotmail.com>wrote:

> Hi Everyone,
>    Does a setting exist to autotrim the /tmp/hive-username folder?   I
> have several TBs of space from old jobs and it is a pain to remember to
> remove them every few weeks.
>
>
> Thanks,
> George
>