Skip to content

Commit

Permalink
[SPARK-8592] [CORE] CoarseGrainedExecutorBackend: Cannot register wit…
Browse files Browse the repository at this point in the history
…h driver => NPE
  • Loading branch information
xuchenCN committed Jun 30, 2015
1 parent f9b6bf2 commit 71e0077
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ private[spark] class CoarseGrainedExecutorBackend(
case Success(msg) => Utils.tryLogNonFatalError {
Option(self).foreach(_.send(msg)) // msg must be RegisteredExecutor
}
case Failure(e) => logError(s"Cannot register with driver: $driverUrl", e)
case Failure(e) => {
logError(s"Cannot register with driver: $driverUrl", e)
System.exit(1)
}
}(ThreadUtils.sameThread)
}

Expand Down

0 comments on commit 71e0077

Please sign in to comment.