GitHub user Sephiroth-Lin opened a pull request:
https://github.com/apache/spark/pull/5478
[SPARK-6869][PySpark] Pass PYTHONPATH to executor, so that executor can
read pyspark file from local file system on executor node
From SPARK-1920 and SPARK-1520 we know PySpark on Yarn can not work when
the assembly jar are package by JDK 1.7+, so pass the PYTHONPATH(set in
spark-env.sh) to executor so that executor python process can read pyspark file
from local file system rather than from assembly jar.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Sephiroth-Lin/spark SPARK-6869
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5478.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 #5478
----
commit 413fa25dde845146153a58793ca6b3ec3a820ea8
Author: linweizhong <[email protected]>
Date: 2015-04-12T08:02:43Z
Pass PYTHONPATH to executor
----
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]