Skip to content

Commit

Permalink
address Aaron's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingCat committed May 9, 2014
1 parent ec9b7bb commit 36a2ac0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@ private[spark] class Master(
logInfo("I have been elected leader! New state: " + state)
if (state == RecoveryState.RECOVERING) {
beginRecovery(storedApps, storedDrivers, storedWorkers)
recoverCallable = context.system.scheduler.scheduleOnce(WORKER_TIMEOUT millis)
{ self ! CompleteRecovery }
recoverCallable = context.system.scheduler.scheduleOnce(WORKER_TIMEOUT millis, self, CompleteRecovery)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,4 @@ private[master] object MasterMessages {
case object RequestWebUIPort

case class WebUIPortResponse(webUIBoundPort: Int)

case object TriggerSchedule
}

0 comments on commit 36a2ac0

Please sign in to comment.