Skip to content
Snippets Groups Projects
Commit 0a597276 authored by Kousuke Saruta's avatar Kousuke Saruta Committed by Andrew Or
Browse files

[Minor] Fix the value represented by spark.executor.id for consistency.

The property  `spark.executor.id` can represent both `driver` and `<driver>`  for one driver.
It's inconsistent.

This issue is minor so I didn't file this in JIRA.

Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>

Closes #3812 from sarutak/fix-driver-identifier and squashes the following commits:

d885498 [Kousuke Saruta] Merge branch 'master' of git://git.apache.org/spark into fix-driver-identifier
4275663 [Kousuke Saruta] Fixed the value represented by spark.executor.id of local mode
parent 06dc4b52
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,7 @@ class SparkContext(config: SparkConf) extends Logging with ExecutorAllocationCli
// An asynchronous listener bus for Spark events
private[spark] val listenerBus = new LiveListenerBus
conf.set("spark.executor.id", "driver")
conf.set("spark.executor.id", SparkContext.DRIVER_IDENTIFIER)
// Create the Spark execution environment (cache, map output tracker, etc)
private[spark] val env = SparkEnv.createDriverEnv(conf, isLocal, listenerBus)
......
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