You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2020/06/26 17:26:12 UTC
[GitHub] [hadoop] zhaorenhai opened a new pull request #2103: HADOOP-17084 Update Dockerfile_aarch64 to use Bionic
zhaorenhai opened a new pull request #2103:
URL: https://github.com/apache/hadoop/pull/2103
## NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org
[GitHub] [hadoop] ayushtkn merged pull request #2103: HADOOP-17084 Update Dockerfile_aarch64 to use Bionic
Posted by GitBox <gi...@apache.org>.
ayushtkn merged pull request #2103:
URL: https://github.com/apache/hadoop/pull/2103
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org
[GitHub] [hadoop] hadoop-yetus commented on pull request #2103: HADOOP-17084 Update Dockerfile_aarch64 to use Bionic
Posted by GitBox <gi...@apache.org>.
hadoop-yetus commented on pull request #2103:
URL: https://github.com/apache/hadoop/pull/2103#issuecomment-650326933
:confetti_ball: **+1 overall**
| Vote | Subsystem | Runtime | Comment |
|:----:|----------:|--------:|:--------|
| +0 :ok: | reexec | 4m 7s | Docker mode activated. |
||| _ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | No case conflicting files found. |
| +1 :green_heart: | @author | 0m 1s | The patch does not contain any @author tags. |
||| _ trunk Compile Tests _ |
| +0 :ok: | mvndep | 1m 43s | Maven dependency ordering for branch |
| +1 :green_heart: | shadedclient | 18m 46s | branch has no errors when building and testing our client artifacts. |
||| _ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 31s | Maven dependency ordering for patch |
| +1 :green_heart: | hadolint | 0m 2s | There were no new hadolint issues. |
| +1 :green_heart: | shellcheck | 0m 0s | There were no new shellcheck issues. |
| +1 :green_heart: | shelldocs | 0m 16s | There were no new shelldocs issues. |
| +1 :green_heart: | whitespace | 0m 0s | The patch has no whitespace issues. |
| +1 :green_heart: | shadedclient | 18m 1s | patch has no errors when building and testing our client artifacts. |
||| _ Other Tests _ |
| +1 :green_heart: | asflicense | 0m 40s | The patch does not generate ASF License warnings. |
| | | 46m 9s | |
| Subsystem | Report/Notes |
|----------:|:-------------|
| Docker | ClientAPI=1.40 ServerAPI=1.40 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-2103/1/artifact/out/Dockerfile |
| GITHUB PR | https://github.com/apache/hadoop/pull/2103 |
| Optional Tests | dupname asflicense hadolint shellcheck shelldocs |
| uname | Linux a31a7cb1e60a 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | personality/hadoop.sh |
| git revision | trunk / 2c03524fa4b |
| Max. process+thread count | 297 (vs. ulimit of 5500) |
| modules | C: U: |
| Console output | https://builds.apache.org/job/hadoop-multibranch/job/PR-2103/1/console |
| versions | git=2.17.1 maven=3.6.0 shellcheck=0.4.6 hadolint=1.11.1-0-g0e692dd |
| Powered by | Apache Yetus 0.12.0 https://yetus.apache.org |
This message was automatically generated.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org
[GitHub] [hadoop] hadoop-yetus commented on pull request #2103: HADOOP-17084 Update Dockerfile_aarch64 to use Bionic
Posted by GitBox <gi...@apache.org>.
hadoop-yetus commented on pull request #2103:
URL: https://github.com/apache/hadoop/pull/2103#issuecomment-650307125
(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/hadoop-multibranch/job/PR-2103/1/console in case of problems.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org
[GitHub] [hadoop] kiwik commented on a change in pull request #2103: HADOOP-17084 Update Dockerfile_aarch64 to use Bionic
Posted by GitBox <gi...@apache.org>.
kiwik commented on a change in pull request #2103:
URL: https://github.com/apache/hadoop/pull/2103#discussion_r446590723
##########
File path: dev-support/docker/Dockerfile_aarch64
##########
@@ -74,47 +79,24 @@ RUN apt-get -q update \
python-setuptools \
python-wheel \
rsync \
+ shellcheck \
software-properties-common \
- snappy \
sudo \
valgrind \
zlib1g-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
-
-#######
-# OpenJDK 8
-#######
-# hadolint ignore=DL3008
-RUN apt-get -q update \
- && apt-get -q install -y --no-install-recommends openjdk-8-jdk libbcprov-java \
- && apt-get clean \
- && rm -rf /var/lib/apt/lists/*
-
-
######
-# Install cmake 3.1.0 (3.5.1 ships with Xenial)
-# There is no cmake binary available for aarch64. Build from source.
+# Set env vars required to build Hadoop
######
-# hadolint ignore=DL3003
-RUN mkdir -p /opt/cmake/src \
- && curl -L -s -S \
- https://cmake.org/files/v3.1/cmake-3.1.0-1-src.tar.bz2 \
- -o /opt/cmake/cmake-src.tar.bz2 \
- && tar xvjf /opt/cmake/cmake-src.tar.bz2 -C /opt/cmake/src \
- && cd /opt/cmake/src \
- && tar xvjf cmake-3.1.0.tar.bz2 \
- && cd cmake-3.1.0 && patch -p0 -i ../cmake-3.1.0-1.patch && mkdir .build && cd .build \
- && ../bootstrap --parallel=2 \
- && make -j2 && ./bin/cpack \
- && tar xzf cmake-3.1.0-Linux-aarch64.tar.gz --strip-components 1 -C /opt/cmake \
- && cd /opt/cmake && rm -rf /opt/cmake/src
-ENV CMAKE_HOME /opt/cmake
-ENV PATH "${PATH}:/opt/cmake/bin"
+ENV MAVEN_HOME /usr
+# JAVA_HOME must be set in Maven >= 3.5.0 (MNG-6003)
+ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-arm64
Review comment:
Nice, JAVA_HOME point to java 8.
LGTM
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org