diff options
author | Stephen Haberman <stephen@exigencecorp.com> | 2013-01-30 16:56:46 -0600 |
---|---|---|
committer | Stephen Haberman <stephen@exigencecorp.com> | 2013-01-30 16:56:46 -0600 |
commit | 871476d506a2d543482defb923a42a2a01f206ab (patch) | |
tree | b8b9343df08dd3e3a38dc8e34ee1c18f2ffada5e /core | |
parent | d54b10b6ad25ebf29f8ca7f438131ed6a9af24ab (diff) | |
download | spark-871476d506a2d543482defb923a42a2a01f206ab.tar.gz spark-871476d506a2d543482defb923a42a2a01f206ab.tar.bz2 spark-871476d506a2d543482defb923a42a2a01f206ab.zip |
Include message and exitStatus if availalbe.
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/scala/spark/deploy/worker/Worker.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/main/scala/spark/deploy/worker/Worker.scala b/core/src/main/scala/spark/deploy/worker/Worker.scala index 5a83a42daf..8b41620d98 100644 --- a/core/src/main/scala/spark/deploy/worker/Worker.scala +++ b/core/src/main/scala/spark/deploy/worker/Worker.scala @@ -134,7 +134,9 @@ private[spark] class Worker( val fullId = jobId + "/" + execId if (ExecutorState.isFinished(state)) { val executor = executors(fullId) - logInfo("Executor " + fullId + " finished with state " + state) + logInfo("Executor " + fullId + " finished with state " + state + + message.map(" message " + _).getOrElse("") + + exitStatus.map(" exitStatus " + _).getOrElse("")) finishedExecutors(fullId) = executor executors -= fullId coresUsed -= executor.cores |