Greg Baker created SPARK-40704:
----------------------------------
Summary: Pyspark incompatible with Pypy
Key: SPARK-40704
URL: https://issues.apache.org/jira/browse/SPARK-40704
Project: Spark
Issue Type: Bug
Components: PySpark
Affects Versions: 3.3.0
Reporter: Greg Baker
Starting Spark with a recent Pypy (>3.6) fails because of an incompatibility
between their pickle implementation and cloudpickle:
{quote}{{% PYSPARK_PYTHON=pypy3 ./bin/pyspark}}
{{...}}
{{ModuleNotFoundError: No module named '_pickle'}}
{quote}
It seems to be related to [this cloudpickle
issue|https://github.com/cloudpipe/cloudpickle/issues/455], which has been
fixed upstream. I was able to work around by replacing the Spark-provided
cloudpickle (python/pyspark/cloudpickle) with the code from their git repo (and
deleting pyspark.zip to purge that copy).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]