spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe PRÉAUD (JIRA) <j...@apache.org>
Subject [jira] [Updated] (SPARK-6469) The YARN driver in yarn-client mode will not use the local directories configured for YARN
Date Mon, 23 Mar 2015 16:10:12 GMT

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

Christophe PRÉAUD updated SPARK-6469:
-------------------------------------
    Description: 
According to the [Spark YARN doc page|http://spark.apache.org/docs/latest/running-on-yarn.html#important-notes],
Spark executors will use the local directories configured for YARN, not {{spark.local.dir}}
which should be ignored.

However it should be noted that in yarn-client mode, though the executors will indeed use
the local directories configured for YARN, the driver will not, because it is not running
on the YARN cluster; the driver in yarn-client will use the local directories defined in {{spark.local.dir}}

Can this please be clarified in the Spark YARN documentation above?

  was:
According to the [Spark YARN doc page|http://spark.apache.org/docs/latest/running-on-yarn.html#important-notes],
Spark executors will use the local directories configured for YARN, not {{spark.local.dir}}
which should be ignored.

It should be noted though that in yarn-client mode, though the executors will indeed use the
local directories configured for YARN, the driver will not, because it is not running on the
YARN cluster; the driver in yarn-client will use the local directories defined in {{spark.local.dir}}


> The YARN driver in yarn-client mode will not use the local directories configured for
YARN 
> -------------------------------------------------------------------------------------------
>
>                 Key: SPARK-6469
>                 URL: https://issues.apache.org/jira/browse/SPARK-6469
>             Project: Spark
>          Issue Type: Documentation
>          Components: Spark Core
>            Reporter: Christophe PRÉAUD
>            Priority: Minor
>         Attachments: TestYarnVars.scala
>
>
> According to the [Spark YARN doc page|http://spark.apache.org/docs/latest/running-on-yarn.html#important-notes],
Spark executors will use the local directories configured for YARN, not {{spark.local.dir}}
which should be ignored.
> However it should be noted that in yarn-client mode, though the executors will indeed
use the local directories configured for YARN, the driver will not, because it is not running
on the YARN cluster; the driver in yarn-client will use the local directories defined in {{spark.local.dir}}
> Can this please be clarified in the Spark YARN documentation above?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message