Skip to content

Commit b65def7

Browse files
scwfpwendell
authored andcommitted
delete no use var
Author: wangfei <[email protected]> Closes #613 from scwf/masterIndex and squashes the following commits: 1463056 [wangfei] delete no use var: masterIndex (cherry picked from commit 4bf24f7) Signed-off-by: Patrick Wendell <[email protected]>
1 parent d28c058 commit b65def7

File tree

1 file changed

+0
-2
lines changed
  • core/src/main/scala/org/apache/spark/deploy/worker

1 file changed

+0
-2
lines changed

core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ private[spark] class Worker(
7171
// TTL for app folders/data; after TTL expires it will be cleaned up
7272
val APP_DATA_RETENTION_SECS = conf.getLong("spark.worker.cleanup.appDataTtl", 7 * 24 * 3600)
7373

74-
// Index into masterUrls that we're currently trying to register with.
75-
var masterIndex = 0
7674

7775
val masterLock: Object = new Object()
7876
var master: ActorSelection = null

0 commit comments

Comments
 (0)