Github user tnachen commented on a diff in the pull request: https://github.com/apache/spark/pull/8358#discussion_r39530770 --- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala --- @@ -655,15 +655,19 @@ private[spark] object Utils extends Logging { // created the directories already, and that they are secured so that only the // user has access to them. getYarnLocalDirs(conf).split(",") + } else if (conf.getenv("SPARK_LOCAL_DIRS") != null) { + conf.getenv("SPARK_LOCAL_DIRS").split(",") } else if (conf.getenv("SPARK_EXECUTOR_DIRS") != null) { conf.getenv("SPARK_EXECUTOR_DIRS").split(File.pathSeparator) + } else if (conf.getenv("MESOS_DIRECTORY") != null + && !conf.getBoolean("spark.dynamicAllocation.enabled", false)) { --- End diff -- we should check spark.shuffle.service.enabled instead
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org