How to clean up temporary Hive folders/files in local filesystem "/tmp"?
Hello,
in our local filesystem we see thousands of subdirectories like "????????-????-????-????-????????????_resources" older than 5 days (and this is for guarantee nothing from any still running process).
Additionally there are thousands of files and hundreds of subdirectories in "/tmp/hive" older than 5 days.
Where do those relicts come from?
How to get rid of them in an automated way?
$ find -O1 /tmp -type d -name "????????-????-????-????-????????????_resources" -mtime +5 | wc -l
26263
$ find /tmp/hive -type d -mtime +5 | wc -l
538
$ find /tmp/hive -type f -mtime +5 | wc -l
5784
Best Regards
Carsten

