Github user aarondav commented on a diff in the pull request:
https://github.com/apache/spark/pull/2609#discussion_r18316319
--- Diff: core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala
---
@@ -233,8 +244,15 @@ private[spark] class Worker(
} else {
try {
logInfo("Asked to launch executor %s/%d for %s".format(appId,
execId, appDesc.name))
+
+ // Create the executor's working directory
+ val executorDir = new File(workDir, appId + "/" + execId)
+ if (!executorDir.mkdirs()) {
+ throw new IOException("Failed to create directory " +
executorDir)
--- End diff --
I just realized that the ExecutorStateChanged here does not give any
indication of what happened. Would you mind setting the message to
`Some(e.toString)`. This will include the Exception's class and message, but
not stack trace, which seems reasonable.
---
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]