diff options
author | wangfei <wangfei_hello@126.com> | 2014-05-02 21:34:54 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-05-02 21:35:33 -0700 |
commit | b65def7703e555a6d037da8b56dd71995d1de052 (patch) | |
tree | c5a0ec03e5c2a2a50660dabbfb1c276d7054eb73 /core | |
parent | d28c05887cf4183c1cd131793787081386baa03c (diff) | |
download | spark-b65def7703e555a6d037da8b56dd71995d1de052.tar.gz spark-b65def7703e555a6d037da8b56dd71995d1de052.tar.bz2 spark-b65def7703e555a6d037da8b56dd71995d1de052.zip |
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
(cherry picked from commit 4bf24f7897e1c67ca5f96dec05480e571f05ee1d)
Signed-off-by: Patrick Wendell <pwendell@gmail.com>
Diffstat (limited to 'core')
-rwxr-xr-x | core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala b/core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala index 195da81460..cd6bd2cd29 100755 --- a/core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala +++ b/core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala @@ -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 |