Github user aarondav commented on a diff in the pull request:
https://github.com/apache/spark/pull/864#discussion_r13014098
--- Diff: core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala
---
@@ -311,6 +311,8 @@ private[spark] class Worker(
state match {
case DriverState.ERROR =>
logWarning(s"Driver $driverId failed with unrecoverable
exception: ${exception.get}")
+ case DriverState.FAILED =>
+ logWarning(s"Driver $driverId failed with state $state")
--- End diff --
Also the $state in this case will always be FAILED, so perhaps it'd be
better to just say something like `s"Driver $driverId exited with failure."`
---
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.
---