Skip to content

Commit

Permalink
remove unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
Ngone51 committed May 9, 2019
1 parent 17920b3 commit 94a866d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,6 @@ private[deploy] class Worker(

case MasterChanged(masterRef, masterWebUiUrl) =>
logInfo("Master has changed, new master is at " + masterRef.address.toSparkURL)
registered = true
changeMaster(masterRef, masterWebUiUrl, masterRef.address)

val execs = executors.values.
Expand All @@ -496,7 +495,7 @@ private[deploy] class Worker(
case ReconnectWorker(masterUrl) =>
if (masterUrl != activeMasterUrl) {
logWarning(s"New Master is at $activeMasterUrl, " +
s"ignore old Master ($masterUrl)'s request to reconnect")
s"ignore old Master ($masterUrl)'s request to reconnect.")
} else {
logInfo(s"Master with url $masterUrl requested this worker to reconnect.")
registerWithMaster()
Expand Down

0 comments on commit 94a866d

Please sign in to comment.