Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
2.4.0
-
None
-
None
Description
I ran into this while testing the changes I made for SPARK-24736.
If you provide, e.g., --py-files dependency.zip to spark-submit, that archive is not added to the pyspark app's PYTHONPATH. That makes the dependency not visible to the pyspark code.
.py files added using --py-files work fine (if they're imported after a SparkContext is instantiated).
Attachments
Issue Links
- relates to
-
SPARK-24736 --py-files not functional for non local URLs. It appears to pass non-local URL's into PYTHONPATH directly.
- Resolved