Github user zuotingbing commented on a diff in the pull request:
https://github.com/apache/spark/pull/16484#discussion_r94911586
--- Diff: core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala
---
@@ -445,12 +445,24 @@ private[deploy] class Worker(
// Create local dirs for the executor. These are passed to the
executor via the
// SPARK_EXECUTOR_DIRS environment variable, and deleted by the
Worker when the
// application finishes.
- val appLocalDirs = appDirectories.getOrElse(appId,
- Utils.getOrCreateLocalRootDirs(conf).map { dir =>
- val appDir = Utils.createDirectory(dir, namePrefix =
"executor")
- Utils.chmod700(appDir)
- appDir.getAbsolutePath()
- }.toSeq)
+ val appLocalDirs = appDirectories.getOrElse(appId, {
--- End diff --
Sorry, this change is for another issue. Should i close this PR and
checkout a new branch for this issue ?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]