-
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
GH-35274: [Java][CI] Enable GCS on MacOS #35277
Conversation
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename the pull request title in the following format?
or
In the case of PARQUET issues on JIRA the title also supports:
See also: |
|
@github-actions crossbow submit java-jars |
Revision: a05f58e Submitted crossbow builds: ursacomputing/crossbow @ actions-24f328b4cf
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A minor change
I am seeing error on MacOS aarch_64 with message Running arrow-gcsfs-test, redirecting output into /Users/voltrondata/github-actions-runner/_work/crossbow/crossbow/arrow/cpp-build/cpp/build/test-logs/arrow-gcsfs-test.txt (attempt 1/1)
/Users/voltrondata/github-actions-runner/_work/crossbow/crossbow/arrow/cpp/build-support/run-test.sh: line 91: 33793 Abort trap: 6 $TEST_EXECUTABLE "$@" > $LOGFILE.raw 2>&1
INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://localhost:63593
INFO:werkzeug:Press CTRL+C to quit
INFO:werkzeug: * Restarting with stat
Running main() from /Users/voltrondata/github-actions-runner/_work/crossbow/crossbow/arrow/cpp-build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest_main.cc
[==========] Running 99 tests from 3 test suites.
[----------] Global test environment set-up.
[----------] 26 tests from TestGCSFSGeneric
[ RUN ] TestGCSFSGeneric.Empty
dyld: lazy symbol binding failed: Symbol not found: _curl_multi_poll
Referenced from: /Users/voltrondata/github-actions-runner/_work/crossbow/crossbow/arrow/cpp-build/cpp/release/arrow-gcsfs-test
Expected in: /usr/lib/libcurl.4.dylib
dyld: Symbol not found: _curl_multi_poll
Referenced from: /Users/voltrondata/github-actions-runner/_work/crossbow/crossbow/arrow/cpp-build/cpp/release/arrow-gcsfs-test
Expected in: /usr/lib/libcurl.4.dylib
...
...
Total Test time (real) = 121.27 sec
The following tests FAILED:
61 - arrow-gcsfs-test (Failed)
Errors while running CTest |
I think the installed curl version is too old. It looks like libcurl 4 is installed but multi pool was introduced in 7 https://curl.se/libcurl/c/curl_multi_poll.html |
Co-authored-by: Jacob Wujciak-Jens <jacob@wujciak.de>
@github-actions crossbow submit java-jars |
Revision: d6da99d Submitted crossbow builds: ursacomputing/crossbow @ actions-fa53b98180
|
This should fix the m1 issues --- a/dev/tasks/java-jars/github.yml
+++ b/dev/tasks/java-jars/github.yml
@@ -108,6 +108,7 @@ jobs:
set -e
# make brew Java available to CMake
if [ "{{ arch }}" = "aarch_64" ]; then
+ export CURL_ROOT=$(brew --prefix curl)
export JAVA_HOME=$(brew --prefix openjdk@11)/libexec/openjdk.jdk/Contents/Home
fi
arrow/ci/scripts/java_jni_macos_build.sh \ |
@github-actions crossbow submit java-jars |
Revision: e1db91b Submitted crossbow builds: ursacomputing/crossbow @ actions-7a70b20d3a
|
@lidavidm do you have some insight about what I could review to solve this error https://github.com/apache/arrow/actions/runs/5274483912/jobs/9538989549?pr=35277:
|
Hmm. It's not reproduced on local... It seems that the error message show that we need to add Abseil's CRC related modules to https://github.com/apache/arrow/blob/main/cpp/cmake_modules/ThirdpartyToolchain.cmake#L2856-L3756 . BTW, can we use 20230125.3 https://github.com/abseil/abseil-cpp/releases/tag/20230125.3 ? |
@github-actions crossbow submit java-jars |
Revision: 828d689 Submitted crossbow builds: ursacomputing/crossbow @ actions-221f6dfca1
|
@lidavidm please could you help me to move this PR to draft?, there are some problems on the CI that I need to test and probably need to call it again and again. Thank you in advance |
You can find the "Convert to draft" link in the right side bar. |
Thank you |
@github-actions crossbow submit java-jars |
Revision: 1deb06b Submitted crossbow builds: ursacomputing/crossbow @ actions-abbebdf72b
|
@github-actions crossbow submit java-jars |
Revision: 480a896 Submitted crossbow builds: ursacomputing/crossbow @ actions-54eb93bef5
|
@github-actions crossbow submit java-jars |
Revision: 9acf7dc Submitted crossbow builds: ursacomputing/crossbow @ actions-8d83452f61
|
In order to define a better alternative solution, the current pull request has been closed. |
|
Rationale for this change
Enables GCS on MacOS when building the Arrow Dataset for Java.
What changes are included in this PR?
CI build to enable GCS
Are these changes tested?
Are there any user-facing changes?
No