Skip to content
Snippets Groups Projects
Commit e04a37a3 authored by Karen Feng's avatar Karen Feng
Browse files

Merge branch 'master' of https://github.com/mesos/spark into bootstrap-update

cially if it merges an updated upstream into a topic branch.
parents 43a2cc15 fe7298b5
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ import akka.actor._
import akka.pattern.ask
import akka.util.Duration
import akka.util.duration._
import akka.pattern.AskTimeoutException
import java.util.concurrent.TimeoutException
import spark.{SparkException, Logging}
import akka.remote.RemoteClientLifeCycleEvent
import akka.remote.RemoteClientShutdown
......@@ -134,7 +134,8 @@ private[spark] class Client(
val future = actor.ask(StopClient)(timeout)
Await.result(future, timeout)
} catch {
case e: AskTimeoutException => // Ignore it, maybe master went away
case e: TimeoutException =>
logInfo("Stop request to Master timed out; it may already be shut down.")
}
actor = null
}
......
......@@ -564,8 +564,8 @@ private[spark] class ClusterTaskSetManager(sched: ClusterScheduler, val taskSet:
decreaseRunningTasks(1)
if (!finished(index)) {
tasksFinished += 1
logInfo("Finished TID %s in %d ms (progress: %d/%d)".format(
tid, info.duration, tasksFinished, numTasks))
logInfo("Finished TID %s in %d ms on %s (progress: %d/%d)".format(
tid, info.duration, info.hostPort, tasksFinished, numTasks))
// Deserialize task result and pass it to the scheduler
try {
val result = ser.deserialize[TaskResult[_]](serializedData)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment