-
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
ARROW-17451: [CI][Java] Use manylinux2014 image for JNI #13920
Conversation
|
Let's confirm CI time of https://github.com/apache/arrow/runs/7914727219?check_suite_focus=true . |
585aaff
to
cd20ca6
Compare
Because our official .jar packages are built in manylinux2014 image.
cd20ca6
to
b319661
Compare
@pitrou manylinux2014 based image isn't slower than Debian 9 based image:
|
<<: *ccache | ||
ARROW_BUILD_TESTS: "OFF" | ||
ARROW_S3: "OFF" | ||
ARROW_SUBSTRAIT: "OFF" |
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.
Can you reuse these environment variables in the java-manylinux build?
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.
We can use ARROW_BUILD_TESTS=OFF
and ARROW_SUBSTRAIT=OFF
and they are already used.
(But I want to enable ARROW_BUILD_TESTS
in ARROW-17081 / #13911 to run a Dataset JNI test that uses arrow_testing
.)
We can't use ARROW_S3=OFF
because our JNI packages enable S3 recently: ARROW-16584 / #13157
@github-actions crossbow submit java-jars |
Revision: b319661 Submitted crossbow builds: ursacomputing/crossbow @ actions-f9f22f6178
|
I think it's fine to drop Debian if we have manylinux instead. |
@kou Can you also display ccache statistics just like is done in |
@@ -41,9 +41,15 @@ install_dir=${build_dir}/cpp-install | |||
: ${ARROW_PLASMA:=ON} | |||
: ${ARROW_PYTHON:=OFF} | |||
: ${ARROW_S3:=ON} | |||
: ${ARROW_USE_CCACHE:=OFF} |
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.
Why not, but you should perhaps also pass it to CMake below?
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.
Ah, I changed wrong file... I should have changed java_jni_manylinux_build.sh
...
I've passed it to CMake arguments. I've updated java_jni_manylinux_build.sh
too.
I chose ARROW_USE_CCACHE:=OFF
here because cpp_build.sh
uses it. I set ARROW_USE_CCACHE=ON
in caller like other jobs.
@github-actions crossbow submit java-jars |
Revision: 3e7930d Submitted crossbow builds: ursacomputing/crossbow @ actions-14ab753fc3
|
@github-actions crossbow submit java-jars |
Revision: 64cf4c7 Submitted crossbow builds: ursacomputing/crossbow @ actions-afee36cc35
|
ccache statistics: https://github.com/apache/arrow/runs/7929238651?check_suite_focus=true#step:6:2308a
https://github.com/apache/arrow/runs/7929238651?check_suite_focus=true#step:6:3472
Cache will be used after we merge this. |
It seems that there is no objection. |
Benchmark runs are scheduled for baseline = 0600bb2 and contender = 9882df5. 9882df5 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Because our official .jar packages are built in manylinux2014 image. Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Because our official .jar packages are built in manylinux2014 image. Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Because our official .jar packages are built in manylinux2014 image.