You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Thomas Graves (JIRA)" <ji...@apache.org> on 2015/05/08 15:46:59 UTC

[jira] [Updated] (SPARK-6869) Add pyspark archives path to PYTHONPATH

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

Thomas Graves updated SPARK-6869:
---------------------------------
    Issue Type: Bug  (was: Improvement)

> Add pyspark archives path to PYTHONPATH
> ---------------------------------------
>
>                 Key: SPARK-6869
>                 URL: https://issues.apache.org/jira/browse/SPARK-6869
>             Project: Spark
>          Issue Type: Bug
>          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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org