You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Junjie Chen (JIRA)" <ji...@apache.org> on 2019/04/18 02:30:00 UTC

[jira] [Created] (SPARK-27499) Support mapping spark.local.dir to hostPath volume

Junjie Chen created SPARK-27499:
-----------------------------------

             Summary: Support mapping spark.local.dir to hostPath volume
                 Key: SPARK-27499
                 URL: https://issues.apache.org/jira/browse/SPARK-27499
             Project: Spark
          Issue Type: Improvement
          Components: Kubernetes
    Affects Versions: 2.4.1
            Reporter: Junjie Chen


Currently, the k8s executor builder mount spark.local.dir as emptyDir or memory, it should satisfy some small workload, while in some heavily workload like TPCDS, both of them can have some problem, such as pods are evicted due to disk pressure when using emptyDir, and OOM when using tmpfs.

In particular on cloud environment, users may allocate cluster with minimum configuration and add cloud storage when running workload. In this case, we can specify multiple elastic storage as spark.local.dir to accelerate the spilling. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org