You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by an...@apache.org on 2015/01/28 22:05:00 UTC

spark git commit: [SPARK-5417] Remove redundant executor-id set() call

Repository: spark
Updated Branches:
  refs/heads/master d44ee4366 -> a731314c3


[SPARK-5417] Remove redundant executor-id set() call

This happens inside SparkEnv initialization as of #4194

Author: Ryan Williams <ry...@gmail.com>

Closes #4213 from ryan-williams/exec-id-set and squashes the following commits:

b3e4f7b [Ryan Williams] Remove redundant executor-id set() call


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/a731314c
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/a731314c
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/a731314c

Branch: refs/heads/master
Commit: a731314c319a6f265060e05267844069027804fd
Parents: d44ee43
Author: Ryan Williams <ry...@gmail.com>
Authored: Wed Jan 28 13:04:52 2015 -0800
Committer: Andrew Or <an...@databricks.com>
Committed: Wed Jan 28 13:04:52 2015 -0800

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/executor/Executor.scala | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/a731314c/core/src/main/scala/org/apache/spark/executor/Executor.scala
----------------------------------------------------------------------
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 d8c2e41..312bb3a 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)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org