spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Rosen (JIRA)" <>
Subject [jira] [Resolved] (SPARK-2975) SPARK_LOCAL_DIRS may cause problems when running in local mode
Date Wed, 20 Aug 2014 17:16:27 GMT


Josh Rosen resolved SPARK-2975.

       Resolution: Fixed
    Fix Version/s: 1.1.0

> SPARK_LOCAL_DIRS may cause problems when running in local mode
> --------------------------------------------------------------
>                 Key: SPARK-2975
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.0.0, 1.1.0
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>            Priority: Critical
>             Fix For: 1.1.0
> 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,
but also opening this JIRA so this isn't forgotten.)

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message