diff options
author | Kan Zhang <kzhang@apache.org> | 2015-05-14 23:50:50 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-05-14 23:50:50 -0700 |
commit | daf4ae72fe01b6d9631bfbd061b3846bdf668dfa (patch) | |
tree | b442c3c489a63f5e84134e85e44c243cd7381c25 /core | |
parent | 7da33ce5057ff965eec19ce662465b64a3564019 (diff) | |
download | spark-daf4ae72fe01b6d9631bfbd061b3846bdf668dfa.tar.gz spark-daf4ae72fe01b6d9631bfbd061b3846bdf668dfa.tar.bz2 spark-daf4ae72fe01b6d9631bfbd061b3846bdf668dfa.zip |
[CORE] Remove unreachable Heartbeat message from Worker
It doesn't look to me Heartbeat is sent to Worker from anyone.
Author: Kan Zhang <kzhang@apache.org>
Closes #6163 from kanzhang/deadwood and squashes the following commits:
56be118 [Kan Zhang] [core] Remove unreachable Heartbeat message from Worker
Diffstat (limited to 'core')
-rwxr-xr-x | core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala | 3 |
1 files changed, 0 insertions, 3 deletions
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 8f3cc54051..c8df024dda 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) |