You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Navdeep Poonia (Jira)" <ji...@apache.org> on 2020/01/13 03:49:00 UTC
[jira] [Created] (SPARK-30496) Pyspark on kubernetes does not
support --py-files from remote storage in cluster mode
Navdeep Poonia created SPARK-30496:
--------------------------------------
Summary: Pyspark on kubernetes does not support --py-files from remote storage in cluster mode
Key: SPARK-30496
URL: https://issues.apache.org/jira/browse/SPARK-30496
Project: Spark
Issue Type: Bug
Components: Kubernetes, PySpark
Affects Versions: 2.4.4
Reporter: Navdeep Poonia
The following spark-submit on yarn works fine downloading the file from remote storage and putting it into PYTHONPATH,
spark-submit --master yarn --deploy-mode cluster --py-files s3://bucket/packages.zip s3://bucket/etl.py
While, the same fails on k8s with import errors for packages in the zip file. The following is set to PYTHONPATH on k8s, which has a link to s3 file which can't be supported by PYTHONPATH
{noformat}
PYTHONPATH='/opt/spark/python/lib/pyspark.zip:/opt/spark/python/lib/py4j-*.zip:s3://bucket/packages.zip'{noformat}
--
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