GitHub user vanzin opened a pull request:
https://github.com/apache/spark/pull/303
[SPARK-1395] Allow "local:" URIs to work on Yarn.
This only works for the three paths defined in the environment
(SPARK_JAR, SPARK_YARN_APP_JAR and SPARK_LOG4J_CONF).
Tested by running SparkPi with local: and file: URIs against Yarn cluster
(no "upload" shows up in logs in the local case).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vanzin/spark yarn-local
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/303.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #303
----
commit 4442820f223185283d57aec98d96e63dd86f61f8
Author: Marcelo Vanzin <[email protected]>
Date: 2014-04-02T20:22:07Z
[SPARK-1395] Allow "local:" URIs to work on Yarn.
This only works for the three paths defined in the environment
(SPARK_JAR, SPARK_YARN_APP_JAR and SPARK_LOG4J_CONF).
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---