You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2014/08/11 19:46:12 UTC
[jira] [Created] (SPARK-2975) SPARK_LOCAL_DIRS may cause problems
when running in local mode
Josh Rosen created SPARK-2975:
---------------------------------
Summary: SPARK_LOCAL_DIRS may cause problems when running in local mode
Key: SPARK-2975
URL: https://issues.apache.org/jira/browse/SPARK-2975
Project: Spark
Issue Type: Bug
Components: Spark Core
Affects Versions: 1.0.0, 1.1.0
Reporter: Josh Rosen
Priority: Minor
If we're running Spark in local mode and {{SPARK_LOCAL_DIRS}} is set, the {{Executor}} modifies SparkConf so that this value overrides {{spark.local.dir}}. Normally, this is safe because the modification takes place before SparkEnv is created. In local mode, the Executor uses an existing SparkEnv rather than creating a new one, so it winds up with a DiskBlockManager that created local directories with the original {{spark.local.dir}} setting, but other components attempt to use directories specified in the _new_ {{spark.local.dir}}, leading to problems.
I discovered this issue while testing Spark 1.1.0-snapshot1, but I think it will also affect Spark 1.0 (haven't confirmed this, though).
(I posted some comments at https://github.com/apache/spark/pull/299#discussion-diff-15975800, but also opening this JIRA so this isn't forgotten.)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org