aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Williams <ryan.blake.williams@gmail.com>2015-01-28 13:04:52 -0800
committerAndrew Or <andrew@databricks.com>2015-01-28 13:04:52 -0800
commita731314c319a6f265060e05267844069027804fd (patch)
treefbf5b357ee746979455b00018814fea1a1171e9a
parentd44ee436658cd91f3abeb9daa10a5578d7eebd81 (diff)
downloadspark-a731314c319a6f265060e05267844069027804fd.tar.gz
spark-a731314c319a6f265060e05267844069027804fd.tar.bz2
spark-a731314c319a6f265060e05267844069027804fd.zip
[SPARK-5417] Remove redundant executor-id set() call
This happens inside SparkEnv initialization as of #4194 Author: Ryan Williams <ryan.blake.williams@gmail.com> Closes #4213 from ryan-williams/exec-id-set and squashes the following commits: b3e4f7b [Ryan Williams] Remove redundant executor-id set() call
-rw-r--r--core/src/main/scala/org/apache/spark/executor/Executor.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/executor/Executor.scala b/core/src/main/scala/org/apache/spark/executor/Executor.scala
index d8c2e41a7c..312bb3a1da 100644
--- a/core/src/main/scala/org/apache/spark/executor/Executor.scala
+++ b/core/src/main/scala/org/apache/spark/executor/Executor.scala
@@ -76,7 +76,6 @@ private[spark] class Executor(
}
val executorSource = new ExecutorSource(this, executorId)
- conf.set("spark.executor.id", executorId)
if (!isLocal) {
env.metricsSystem.registerSource(executorSource)