-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI][Python] AMD64 Conda Java C Data Interface Integration Failure building PyArrow trying to use PYARROW_PARQUET #41725
Comments
Can you add the link to a failing job? |
From what I can see from the last success is that we were building pyarrow without parquet on this job (this is the last successful job 4 days ago):
@jorisvandenbossche could this be a failure on autodetecting the flags used when building Arrow CPP? The failures match when this issue was merged: #41480 |
That indeed seems related, starting some debugging on CI in #41751 |
Ah, but looking at the logs in more detail, this might actually be a "correct" message now. Because the build does use |
It's coming from here: arrow/ci/scripts/python_build.sh Lines 70 to 71 in b2e8c33
I don't know if that was done to ensure that the parquet encryption was enabled whenever parquet would be enabled, but so that is currently in an inconsistent state |
We could of course also follow the logic from C++ where enabling |
…sabled (same as base parquwet) - fix Java integration build
Actually, more specifically we originally had this in our setup.py, which I removed:
which ensured to ignore the |
… itself is not enabled (fix Java integration build) (#41776) ### Rationale for this change Because of refactoring in #41480, explicitly enabling `PYARROW_WITH_PARQUET_ENCRYPTION` without enabling `PYARROW_WITH_PARQUET` (and without Arrow C++ being built with Parquet support) now raises an error, while before we checked in `setup.py` that both were enabled for enabling encryption support. This patch mimics that logic in CMakeLists.txt with a warning added. ### What changes are included in this PR? When PyArrow with Parquet Encryption is enabled but PyArrow with Parquet itself is not, ignore the encryption setting, but warn about it. ### Are these changes tested? Yes * GitHub Issue: #41725 Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Issue resolved by pull request 41776 |
…arquet itself is not enabled (fix Java integration build) (apache#41776) ### Rationale for this change Because of refactoring in apache#41480, explicitly enabling `PYARROW_WITH_PARQUET_ENCRYPTION` without enabling `PYARROW_WITH_PARQUET` (and without Arrow C++ being built with Parquet support) now raises an error, while before we checked in `setup.py` that both were enabled for enabling encryption support. This patch mimics that logic in CMakeLists.txt with a warning added. ### What changes are included in this PR? When PyArrow with Parquet Encryption is enabled but PyArrow with Parquet itself is not, ignore the encryption setting, but warn about it. ### Are these changes tested? Yes * GitHub Issue: apache#41725 Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Describe the bug, including details regarding any error messages, version, and platform.
This CI has been failing in a number of PRs. Needs evaluation.
Trace
Error: docker run --rm -e CI=true -e GRADLE_ENTERPRISE_ACCESS_KEY= --shm-size 2147483648 -e ARROW_ACERO=OFF -e ARROW_DATASET=OFF -e ARROW_FLIGHT=OFF -e ARROW_FLIGHT_SQL=OFF -e ARROW_GANDIVA=OFF -e ARROW_JAVA_CDATA=ON -e ARROW_ORC=OFF -e ARROW_PARQUET=OFF -e CCACHE_COMPILERCHECK=content -e CCACHE_COMPRESS=1 -e CCACHE_COMPRESSLEVEL=6 -e CCACHE_DIR=/ccache -e CCACHE_MAXSIZE=1G -e GITHUB_ACTIONS=true -e JAVA_JNI_CMAKE_ARGS=-DARROW_JAVA_JNI_ENABLE_DEFAULT=OFF -DARROW_JAVA_JNI_ENABLE_C=ON -v /home/runner/work/arrow/arrow:/arrow -v /home/runner/work/arrow/arrow/.docker/maven-cache:/root/.m2 -v /home/runner/work/arrow/arrow/.docker/debian-ccache:/ccache apache/arrow-dev:amd64-conda-python-3.8-java-integration /arrow/ci/scripts/cpp_build.sh /arrow /build && /arrow/ci/scripts/python_build.sh /arrow /build && /arrow/ci/scripts/java_jni_build.sh /arrow ${ARROW_HOME} /build /tmp/dist/java/ && /arrow/ci/scripts/java_build.sh /arrow /build /tmp/dist/java && /arrow/ci/scripts/java_cdata_integration.sh /arrow /build exited with non-zero exit code 1 Error: Process completed with exit code 1.
Component(s)
Continuous Integration, Java
The text was updated successfully, but these errors were encountered: