Skip to content

Commit 918ea2c

Browse files
committed
Merge remote-tracking branch 'upstream/master' into conditionInfer
2 parents fb84dba + 1e97813 commit 918ea2c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/src/main/scala/org/apache/spark/deploy/client/AppClient.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private[spark] class AppClient(
124124
*/
125125
private def registerWithMaster(nthRetry: Int) {
126126
registerMasterFutures.set(tryRegisterAllMasters())
127-
registrationRetryTimer.set(registrationRetryThread.scheduleAtFixedRate(new Runnable {
127+
registrationRetryTimer.set(registrationRetryThread.schedule(new Runnable {
128128
override def run(): Unit = {
129129
Utils.tryOrExit {
130130
if (registered.get) {
@@ -138,7 +138,7 @@ private[spark] class AppClient(
138138
}
139139
}
140140
}
141-
}, REGISTRATION_TIMEOUT_SECONDS, REGISTRATION_TIMEOUT_SECONDS, TimeUnit.SECONDS))
141+
}, REGISTRATION_TIMEOUT_SECONDS, TimeUnit.SECONDS))
142142
}
143143

144144
/**

0 commit comments

Comments
 (0)