-
Notifications
You must be signed in to change notification settings - Fork 9k
HADOOP-19540. [JDK17] Add ubuntu:noble as a build platform with JDK-17 as default #7608
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
Conversation
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.
The error message on aarch64 ain't cheese
ayushsaxena@ayushsaxena hadoop % ./start-build-env.sh ubuntu_24
[+] Building 0.0s (2/2) FINISHED
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from Dockerfile_ubuntu_24_aarch64 0.0s
=> => transferring dockerfile: 2B 0.0s
ERROR: failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount1675973539/Dockerfile_ubuntu_24_aarch64: no such file or directory
ayushsaxena@ayushsaxena hadoop %
Can we update the BUILDING.txt to reflect which ones are supported for aarch64.
Rest if the build comes clean, changes LGTM
💔 -1 overall
This message was automatically generated. |
All the failures in compilation are due to below. Nothing to do with changes in this PR.
|
877f792
to
0db1122
Compare
Ack. Updated the BUILDING.txt and added error message in |
💔 -1 overall
This message was automatically generated. |
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.
LGTM.
Something crazy with the last build as well, see if you can get a clean build, before merging, haven't seen this error before, not sure why is it crying in yarn for protoc
💔 -1 overall
This message was automatically generated. |
Ran the failed tests locally..
|
0db1122
to
bcd73e6
Compare
💔 -1 overall
This message was automatically generated. |
...-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/include/hdfspp/block_location.h
Outdated
Show resolved
Hide resolved
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.
+1 from me, pending resolution of the last round of feedback from @pan3793 . Thanks @vinayakumarb !
…7 as default 1. Added "ubuntu:noble" to supported docker platforms. 2. Modified `start-build-env.sh` to use expected Dockerfiles dynamically. ex: `bash start-build-env.sh ubuntu_24` where `ubuntu_24` is the extra suffix in the name of the Dockerfile. 3. Added `jdk17++` profile activated when jdk17 is available. Successfully built the entire Hadoop tar with native support on env created using `bash start-build-env.sh ubuntu_24`
bcd73e6
to
1bea33c
Compare
💔 -1 overall
This message was automatically generated. |
Thanks everyone for reviews. |
@vinayakumarb Thank you for the contribution! |
Description of PR
start-build-env.sh
to use expected Dockerfiles dynamically. ex:bash start-build-env.sh ubuntu_24
whereubuntu_24
is the extra suffix in the name of the Dockerfile.jdk17
profile activated when jdk17 is available.#include <stdint.h>
to header files which misses it to successfully compile with g++ (13.3) in ubuntu 24.How was this patch tested?
Successfully built the entire Hadoop tar with native support on env created using
bash start-build-env.sh ubuntu_24
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?