Skip to content
Snippets Groups Projects
Commit 4bf24f78 authored by wangfei's avatar wangfei Committed by Patrick Wendell
Browse files

delete no use var

Author: wangfei <wangfei_hello@126.com>

Closes #613 from scwf/masterIndex and squashes the following commits:

1463056 [wangfei] delete no use var: masterIndex
parent f25ebed9
No related branches found
No related tags found
No related merge requests found
......@@ -71,8 +71,6 @@ private[spark] class Worker(
// TTL for app folders/data; after TTL expires it will be cleaned up
val APP_DATA_RETENTION_SECS = conf.getLong("spark.worker.cleanup.appDataTtl", 7 * 24 * 3600)
// Index into masterUrls that we're currently trying to register with.
var masterIndex = 0
val masterLock: Object = new Object()
var master: ActorSelection = null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment