This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Description
This is a feature request to support multiple directories for spark.local.dir setup.
spark.local.dir use "/tmp" as the default setting (link).
In Spark-on-Yarn, most customers usually use multiple directories for spark.local.dir setup. This way can help to get better performance.
In Spark-on-K8s, it indicates to root volume and cannot be modified by default. Since Spark-on-K8s running application and creating containers by request. This feature must create storage(PV) by request as well as configure directories in spark conf before launching the Spark applications.
One related feature implementation(kubernetes/enhancements#121) from kubernetes.
We may need to wait for this feature implemented.