deb-sahara/sahara/plugins/spark/resources/spark-cleanup.cron
Ethan Gafford 7cf61bd313 Spark Temporary Job Data Retention and Cleanup
Introduces a periodic task for the cleanup of data from Spark jobs, in order
to ease maintenance of long-lived clusters.

Change-Id: Ia7dc2dde54ab62199a630c3d1b64c76f08698181
Implements: blueprint spark-cleanup
2015-01-27 13:14:33 -05:00

2 lines
94 B
Plaintext

# Cleans up old Spark job directories once per hour.
0 * * * * root /etc/hadoop/tmp-cleanup.sh