Github user lianhuiwang commented on the pull request:
https://github.com/apache/spark/pull/5478#issuecomment-93873704
@sryza we can export
PYSPARK_ARCHIVES_PATH=local://xx/pyspark.zip;local://xx/py4j.zip in
spark-env.sh and we also can export
PYSPARK_ARCHIVES_PATH=hdfs://xx/pyspaark.zip. then in SparkSubmit we can
automatically add PYSPARK_ARCHIVES_PATH to yarn's dist files. and then
Spark-on-Yarn can put dist files to YARN distributed cache. these work is same
as Spark assembly jar.
@andrewor14 in my test, the pyspark.zip is 378KB, i think it is very small
than the assembly jar.so it can put it to dist files automatically.
---
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]