Skip to content

Commit 480ce94

Browse files
committed
address aarondav comments
1 parent f2b5970 commit 480ce94

File tree

1 file changed

+3
-1
lines changed
  • core/src/main/scala/org/apache/spark/deploy/worker

1 file changed

+3
-1
lines changed

core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,11 +312,13 @@ private[spark] class Worker(
312312
case DriverState.ERROR =>
313313
logWarning(s"Driver $driverId failed with unrecoverable exception: ${exception.get}")
314314
case DriverState.FAILED =>
315-
logWarning(s"Driver $driverId failed with state $state")
315+
logWarning(s"Driver $driverId exited with failure")
316316
case DriverState.FINISHED =>
317317
logInfo(s"Driver $driverId exited successfully")
318318
case DriverState.KILLED =>
319319
logInfo(s"Driver $driverId was killed by user")
320+
case _ =>
321+
logDebug(s"Driver $driverId changed state to $state")
320322
}
321323
masterLock.synchronized {
322324
master ! DriverStateChanged(driverId, state, exception)

0 commit comments

Comments
 (0)