Github user andrewor14 commented on the pull request:
https://github.com/apache/spark/pull/5580#issuecomment-94594756
@lianhuiwang Two high level comments. First, why just put it on
`--py-files`? If it works as expected, then it will automatically add it to the
executor's `PYTHONPATH`s without you having to do it manually as you have done
in `Client.scala`. Second, this seems to still require some action on the
user's part. They must manually zip up all the python archives themselves and
put it on the `PYSPARK_ARCHIVES_PATH`. I would propose that we do this
automatically for the user behind the scenes using Java's `ZipEntry` APIs.
---
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]