Skip to content

Commit

Permalink
address aarondav comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lianhuiwang committed May 24, 2014
1 parent f2b5970 commit 480ce94
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,13 @@ private[spark] class Worker(
case DriverState.ERROR =>
logWarning(s"Driver $driverId failed with unrecoverable exception: ${exception.get}")
case DriverState.FAILED =>
logWarning(s"Driver $driverId failed with state $state")
logWarning(s"Driver $driverId exited with failure")
case DriverState.FINISHED =>
logInfo(s"Driver $driverId exited successfully")
case DriverState.KILLED =>
logInfo(s"Driver $driverId was killed by user")
case _ =>
logDebug(s"Driver $driverId changed state to $state")
}
masterLock.synchronized {
master ! DriverStateChanged(driverId, state, exception)
Expand Down

0 comments on commit 480ce94

Please sign in to comment.