You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2017/07/11 22:17:00 UTC

[jira] [Resolved] (SPARK-7108) spark.local.dir is no longer honored in Standalone mode

     [ https://issues.apache.org/jira/browse/SPARK-7108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcelo Vanzin resolved SPARK-7108.
-----------------------------------
    Resolution: Not A Problem

I'm going to close this because I don't see this as an issue, and I haven't seen many people being confused by this. The wording seems clear to me that the cluster manager will override the value of `spark.local.dir`, so it only really applies to processes not controlled by the cluster manager.

> spark.local.dir is no longer honored in Standalone mode
> -------------------------------------------------------
>
>                 Key: SPARK-7108
>                 URL: https://issues.apache.org/jira/browse/SPARK-7108
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.2.1, 1.3.0
>            Reporter: Josh Rosen
>            Priority: Critical
>
> Prior to SPARK-4834, configuring spark.local.dir in the driver would affect the local directories created on the executor.  After this patch, executors will always ignore this setting in favor of directories read from {{SPARK_LOCAL_DIRS}}, which is set by the standalone worker based on the worker's own configuration and not the application configuration.
> This change impacts users who configured {{spark.local.dir}} only in their driver and not via their cluster's {{spark-defaults.conf}} or {{spark-env.sh}} files.  This is an atypical use-case, since the available local directories / disks are a property of the cluster and not the application, which probably explains why this issue has not been reported previously.
> The correct fix might be comment + documentation improvements.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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