Github user lianhuiwang commented on the pull request:
https://github.com/apache/spark/pull/5580#issuecomment-94609007
@andrewor14 First question is why not just put it on --py-files? because on
yarn-client mode, we can not use --py-files. so if we put it on --py-files for
yarn-client, we also need to set environment for PYTHONPATH.
for second question, now it require to set PYSPARK_ARCHIVES_PATH in
spark-env.sh like hadoop_home enviroment. why need this setting?because if
spark_home or PYSPARKPATH is installed on local path of every node, that do not
need to set PYSPARK_ARCHIVES_PATH. but we cannot know whether SPARK_HOME or
PYSPARKPATH is installed. so i think administrator can know that.
also i agree that we need to zip archives when assembly spark's jar.
@andrewor14 how about your opinions? thanks.
---
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]