Repository: spark
Updated Branches:
  refs/heads/branch-1.4 1206a5597 -> 6742b4ecc


[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

(cherry picked from commit daf4ae72fe01b6d9631bfbd061b3846bdf668dfa)
Signed-off-by: Andrew Or <[email protected]>


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

Branch: refs/heads/branch-1.4
Commit: 6742b4ecc6b1c6bc7c46da723827512b8363447d
Parents: 1206a55
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:57 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/6742b4ec/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