You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/05/03 06:35:27 UTC
git commit: delete no use var
Repository: spark
Updated Branches:
refs/heads/master f25ebed9f -> 4bf24f789
delete no use var
Author: wangfei <wa...@126.com>
Closes #613 from scwf/masterIndex and squashes the following commits:
1463056 [wangfei] delete no use var: masterIndex
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/4bf24f78
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/4bf24f78
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/4bf24f78
Branch: refs/heads/master
Commit: 4bf24f7897e1c67ca5f96dec05480e571f05ee1d
Parents: f25ebed
Author: wangfei <wa...@126.com>
Authored: Fri May 2 21:34:54 2014 -0700
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Fri May 2 21:34:54 2014 -0700
----------------------------------------------------------------------
core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/4bf24f78/core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala
----------------------------------------------------------------------
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 195da81..cd6bd2c 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