You can move the location of the work directory by adding the following to your conf/spark-env.sh:
export SPARK_WORKER_DIR=/path/to/dir
Unfortunately, right now there's no automatic cleanup, but the directories are numbered in order of execution. You could create your own periodic cleanup script that deletes old ones.
Matei
> --
> You received this message because you are subscribed to the Google Groups "Spark Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
spark-users...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>