Repository: spark
Updated Branches:
  refs/heads/master 7da33ce50 -> daf4ae72f


[CORE] Remove unreachable Heartbeat message from Worker

It doesn't look to me Heartbeat is sent to Worker from anyone.

Author: Kan Zhang <[email protected]>

Closes #6163 from kanzhang/deadwood and squashes the following commits:

56be118 [Kan Zhang] [core] Remove unreachable Heartbeat message from Worker


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/daf4ae72
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/daf4ae72
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/daf4ae72

Branch: refs/heads/master
Commit: daf4ae72fe01b6d9631bfbd061b3846bdf668dfa
Parents: 7da33ce
Author: Kan Zhang <[email protected]>
Authored: Thu May 14 23:50:50 2015 -0700
Committer: Andrew Or <[email protected]>
Committed: Thu May 14 23:50:50 2015 -0700

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/daf4ae72/core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala 
b/core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala
index 8f3cc54..c8df024 100755
--- a/core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala
+++ b/core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala
@@ -324,9 +324,6 @@ private[worker] class Worker(
         map(e => new ExecutorDescription(e.appId, e.execId, e.cores, e.state))
       sender ! WorkerSchedulerStateResponse(workerId, execs.toList, 
drivers.keys.toSeq)
 
-    case Heartbeat =>
-      logInfo(s"Received heartbeat from driver ${sender.path}")
-
     case RegisterWorkerFailed(message) =>
       if (!registered) {
         logError("Worker registration failed: " + message)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to