Skip to content

nmilford/clean-hadoop-tmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

clean-hadoop-tmp

Hive does not always do a good job cleaning up after itself and will, many time leave lots of stuff in /tmp on HDFS.

Today I saw that I had 63T of data in /tmp/hive-* #humblebrag.

This script cleans up data older than N seconds, similar to find /tmp -mmin +360 -exec rm {} \;

Dump it in cron and you're good to go.

About

Cleans up data older than N seconds in /tmp on HDFS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages