Skip to content

Commit

Permalink
bugfix worker DriverStateChanged state should match DriverState.FAILED
Browse files Browse the repository at this point in the history
  • Loading branch information
lianhuiwang committed May 23, 2014
1 parent b2bdd0e commit f2b5970
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
case DriverState.FINISHED =>
logInfo(s"Driver $driverId exited successfully")
case DriverState.KILLED =>
Expand Down

0 comments on commit f2b5970

Please sign in to comment.