Skip to content

Commit

Permalink
Worker registration logging fix
Browse files Browse the repository at this point in the history
Author: Andrew Ash <andrew@andrewash.com>

Closes apache#608 from ash211/patch-7 and squashes the following commits:

bd85f2a [Andrew Ash] Worker registration logging fix

(cherry picked from commit c0795cf)
Signed-off-by: Aaron Davidson <aaron@databricks.com>
  • Loading branch information
ash211 authored and aarondav committed Feb 17, 2014
1 parent e797c1a commit b0b5288
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private[spark] class Master(host: String, port: Int, webUiPort: Int) extends Act

case RegisterWorker(id, workerHost, workerPort, cores, memory, workerWebUiPort, publicAddress) => {
logInfo("Registering worker %s:%d with %d cores, %s RAM".format(
host, workerPort, cores, Utils.megabytesToString(memory)))
workerHost, workerPort, cores, Utils.megabytesToString(memory)))
if (state == RecoveryState.STANDBY) {
// ignore, don't send response
} else if (idToWorker.contains(id)) {
Expand Down

0 comments on commit b0b5288

Please sign in to comment.