[
https://issues.apache.org/jira/browse/SPARK-6869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14501860#comment-14501860
]
Apache Spark commented on SPARK-6869:
-------------------------------------
User 'lianhuiwang' has created a pull request for this issue:
https://github.com/apache/spark/pull/5580
> Add pyspark archives path to PYTHONPATH
> ---------------------------------------
>
> Key: SPARK-6869
> URL: https://issues.apache.org/jira/browse/SPARK-6869
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 1.0.0
> Reporter: Weizhong
> Priority: Minor
>
> 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 ship pyspark archives to executors
> by Yarn with --py-files. The pyspark archives name must contains
> "spark-pyspark".
> 1st: zip pyspark to spark-pyspark_2.10.zip
> 2nd:./bin/spark-submit --master yarn-client/yarn-cluster --py-files
> spark-pyspark_2.10.zip app.py args
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]