-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-16797. Add Dockerfile for ARM builds #1801
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
HADOOP-16797. Add Dockerfile for ARM builds #1801
Conversation
(!) A patch to the testing environment has been detected. |
💔 -1 overall
This message was automatically generated. |
# Install hadolint | ||
#### | ||
#RUN curl -L -s -S \ | ||
# https://github.com/hadolint/hadolint/releases/download/v1.11.1/hadolint-Linux-x86_64 \ |
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.
Does the X86 one works for ARM too?
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.
These lines are copied from x86 docker file and since there was no alternative available for aarch64 just commented the line.
This will be required when precommit builds are configured to run on aarch64.
So these lines will be ingored while creating the image.
# YETUS CUT HERE | ||
### | ||
|
||
# Hugo static website generator (for new hadoop site and Ozone docs) |
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.
Need not to mention ozone here.
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.
sure
Yetus, has complains, Pls give a check. Would it be possible for you to share one Build report from an Arm machine? |
&& cd /opt/cmake && rm -rf /opt/cmake/src | ||
ENV CMAKE_HOME /opt/cmake | ||
ENV PATH "${PATH}:/opt/cmake/bin" | ||
|
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 we use cmake 3.5.1 that Xenial ships?
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.
I am not sure about it. I will give a check.
x86 docker also uses 3.1.0 CMake itself.
Could be fixed in both places in a separate jira?
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.
Could be fixed in both places in a separate jira?
Yes, it could be fixed in a separate jira. Thanks.
(!) A patch to the testing environment has been detected. |
@ayushtkn Here is the final output summary of the below command
Attached the complete output. |
76741e5
to
1e20e9c
Compare
(!) A patch to the testing environment has been detected. |
Thanx @vinayakumarb seems the build got aborted, Pls check once |
Yetus detected that change done in root of the project and chose to run unit tests of all modules. This needs approx 15 hours instead of current time-out of 5 hours. |
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.
Should be fine then.
LGTM
What does this change do?
Added a Dockerfile, which will be used by scripts during build and test in aarch64 platform.
Following are the differences between x86 and aarch64 Dockerfile
Additional changes
Testing ?
Verified creation of release package using dev-support/bin/createrelease itself in aarch64 platform.