Skip to content

Commit

Permalink
Worker registration logging fix
Browse files Browse the repository at this point in the history
Author: Andrew Ash <[email protected]>

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

bd85f2a [Andrew Ash] Worker registration logging fix
  • Loading branch information
ash211 authored and aarondav committed Feb 17, 2014
1 parent 5af4477 commit c0795cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ private[spark] class Master(host: String, port: Int, webUiPort: Int) extends Act
case RegisterWorker(id, workerHost, workerPort, cores, memory, workerUiPort, 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 c0795cf

Please sign in to comment.