You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Oleksandr Shevchenko (Jira)" <ji...@apache.org> on 2022/08/06 09:09:00 UTC

[jira] [Created] (SPARK-39995) PySpark installation doesn't support Scala 2.13 binaries

Oleksandr Shevchenko created SPARK-39995:
--------------------------------------------

             Summary: PySpark installation doesn't support Scala 2.13 binaries
                 Key: SPARK-39995
                 URL: https://issues.apache.org/jira/browse/SPARK-39995
             Project: Spark
          Issue Type: Improvement
          Components: PySpark
    Affects Versions: 3.3.0
            Reporter: Oleksandr Shevchenko


[PyPi|https://pypi.org/project/pyspark/] doesn't support Spark binary [installation|https://spark.apache.org/docs/latest/api/python/getting_started/install.html#using-pypi] for Scala 2.13.
Currently, the setup [script|https://github.com/apache/spark/blob/master/python/pyspark/install.py] allows to set versions of Spark, Hadoop (PYSPARK_HADOOP_VERSION), and mirror (PYSPARK_RELEASE_MIRROR) to download needed Spark binaries, but it's always Scala 2.12 compatible binaries. There isn't any parameter to download "spark-3.3.0-bin-hadoop3-scala2.13.tgz".
It's possible to download Spark manually and set the needed SPARK_HOME, but it's hard to use with pip or Poetry.
Also, env vars (e.g. PYSPARK_HADOOP_VERSION) are easy to use with pip and CLI but not possible with package managers like Poetry.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org