You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/05/02 16:50:00 UTC

[jira] [Assigned] (SPARK-30845) spark-submit pyspark app on yarn uploads local pyspark archives

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

Apache Spark reassigned SPARK-30845:
------------------------------------

    Assignee:     (was: Apache Spark)

> spark-submit pyspark app on yarn uploads local pyspark archives
> ---------------------------------------------------------------
>
>                 Key: SPARK-30845
>                 URL: https://issues.apache.org/jira/browse/SPARK-30845
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Submit
>    Affects Versions: 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5
>            Reporter: shanyu zhao
>            Priority: Major
>
> Use spark-submit to submit a pyspark app on Yarn, and set this in spark-env.sh:
> {code:bash}
> export PYSPARK_ARCHIVES_PATH=local:/opt/spark/python/lib/pyspark.zip,local:/opt/spark/python/lib/py4j-0.10.7-src.zip
> {code}
> You can see that these local archives are still uploaded to Yarn distributed cache.
> yarn.Client: Uploading resource file:/opt/spark/python/lib/pyspark.zip -> hdfs://myhdfs/user/test1/.sparkStaging/application_1581024490249_0001/pyspark.zip



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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