[
https://issues.apache.org/jira/browse/SPARK-34979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17316135#comment-17316135
]
Yikun Jiang commented on SPARK-34979:
-------------------------------------
Looks like we have 2 potential options in spark after pyarrow aarch64 support:
*option 1. Do nothing*, just let pip install the latest version, but
installation(without strict pyarrow version requirement) maybe failed if the
version <=3.0.
*option 2. Bump pyarrow version >= next pyarrow version* in spark after pyarrow
aarch64 support. [2]
[[1]https://github.com/apache/arrow/pull/9285|https://github.com/apache/arrow/pull/9285]
[2][https://github.com/apache/spark/blob/0aa2c284e4052cb57ebf7276ecc4867ea2d5f94f/python/setup.py#L259]
> Failed to install pyspark[sql] (due to pyarrow error)
> -----------------------------------------------------
>
> Key: SPARK-34979
> URL: https://issues.apache.org/jira/browse/SPARK-34979
> Project: Spark
> Issue Type: Task
> Components: PySpark
> Affects Versions: 3.2.0
> Reporter: Yikun Jiang
> Priority: Major
>
> $ pip install pyspark[sql] --prefer-binary
> // ... ...
> Building wheels for collected packages: pyarrow
> Building wheel for pyarrow (PEP 517) ... error
> ERROR: Command errored out with exit status 1:
> command: /root/venv/bin/python3.8 /tmp/tmpv35m1o0g build_wheel
> /tmp/tmpq0n5juib
> cwd: /tmp/pip-install-sh0myu71/pyarrow
> Complete output (183 lines):
> -- Running cmake for pyarrow
> cmake -DPYTHON_EXECUTABLE=/root/venv/bin/python3.8
> -DPython3_EXECUTABLE=/root/venv/bin/python3.8 -DPYARROW_BUILD_CUDA=off
> -DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off
> -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off
> -DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PLASMA=off -DPYARROW_BUILD_S3=off
> -DPYARROW_BUILD_HDFS=off -DPYARROW_USE_TENSORFLOW=off
> -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_BOOST=off
> -DPYARROW_GENERATE_COVERAGE=off -DPYARROW_BOOST_USE_SHARED=on
> -DPYARROW_PARQUET_USE_SHARED=on -DCMAKE_BUILD_TYPE=release
> /tmp/pip-install-sh0myu71/pyarrow
> error: command 'cmake' failed with exit status 1
> ----------------------------------------
> ERROR: Failed building wheel for pyarrow
> Failed to build pyarrow
> ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be
> installed directly
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]