We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c4cf2 commit ff4664cCopy full SHA for ff4664c
core/src/main/scala/org/apache/spark/util/JsonProtocol.scala
@@ -639,8 +639,8 @@ private[spark] object JsonProtocol {
639
case `taskResultLost` => TaskResultLost
640
case `taskKilled` => TaskKilled
641
case `executorLostFailure` =>
642
- val executorId = (json \ "Executor ID").extract[String]
643
- ExecutorLostFailure(executorId)
+ val executorId = Utils.jsonOption(json \ "Executor ID").map(_.extract[String])
+ ExecutorLostFailure(executorId.getOrElse("Unknown"))
644
case `unknownReason` => UnknownReason
645
}
646
0 commit comments