[ 
https://issues.apache.org/jira/browse/HADOOP-18305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17579168#comment-17579168
 ] 

Ayush Saxena commented on HADOOP-18305:
---------------------------------------

Didn't work for me on branch-3.3.4, gave some syntax error stuff.

Tried:
{code:java}
diff --git a/dev-support/docker/Dockerfile_aarch64 
b/dev-support/docker/Dockerfile_aarch64
index 80e813bb316..bd6e7acc463 100644
--- a/dev-support/docker/Dockerfile_aarch64
+++ b/dev-support/docker/Dockerfile_aarch64
@@ -17,7 +17,7 @@
 # Dockerfile for installing the necessary dependencies for building Hadoop.
 # See BUILDING.txt.
 
-FROM ubuntu:bionic
+FROM ubuntu:focal
 
 WORKDIR /root
 
@@ -53,6 +53,7 @@ RUN apt-get -q update \
         gcc \
         git \
         gnupg-agent \
+        hugo \
         libbcprov-java \
         libbz2-dev \
         libcurl4-openssl-dev \
@@ -63,10 +64,13 @@ RUN apt-get -q update \
         libsnappy-dev \
         libssl-dev \
         libtool \
-        libzstd1-dev \
+        libzstd-dev \
         locales \
         make \
         maven \
+        nodejs \
+        node-yarn \
+        npm \
         openjdk-11-jdk \
         openjdk-8-jdk \
         phantomjs \
@@ -74,7 +78,6 @@ RUN apt-get -q update \
         pkg-config \
         python2.7 \
         python3 \
-        python3-dev \
         python3-pip \
         python3-pkg-resources \
         python3-setuptools \
@@ -110,7 +113,7 @@ RUN mkdir -p /opt/spotbugs \
 ENV SPOTBUGS_HOME /opt/spotbugs
 
 ######
-# Install Google Protobuf 3.7.1 (3.0.0 ships with Bionic)
+# Install Google Protobuf 3.7.1 (3.6.1 ships with Focal)
 ######
 # hadolint ignore=DL3003
 RUN mkdir -p /opt/protobuf-src \
@@ -132,6 +135,12 @@ ENV PATH "${PATH}:/opt/protobuf/bin"
 ####
 RUN pip3 install pylint==2.6.0 python-dateutil==2.8.1
 
+####
+# Install bower
+####
+# hadolint ignore=DL3008
+RUN npm install -g [email protected]
+
 ###
 # Avoid out of memory errors in builds
 ###
@@ -149,12 +158,6 @@ ENV QT_QPA_PLATFORM offscreen
 # YETUS CUT HERE
 ###
 
-# Hugo static website generator (for new hadoop site docs)
-RUN curl -L -o hugo.deb 
https://github.com/gohugoio/hugo/releases/download/v0.58.3/hugo_0.58.3_Linux-ARM64.deb
 \
-    && dpkg --install hugo.deb \
-    && rm hugo.deb
-
-
 # Add a welcome message and environment checks.
 COPY hadoop_env_checks.sh /root/hadoop_env_checks.sh
 RUN chmod 755 /root/hadoop_env_checks.sh
 {code}
 

This is basically DockerFile_aarch changes of (HADOOP-17465) - (Changes due to 
HDFS-15385) - (Conflicts due to HADOOP-16748) + (Revert HADOOP-18048) + 
HADOOP-17282

Give a check if it works for you on branch-3.3.4 with the above changes. Tried 
a mvn clean install -DskipTests with these changes on 3.3.4 post bash 
start-build-env.sh

> Release Hadoop 3.3.4: minor update of hadoop-3.3.3
> --------------------------------------------------
>
>                 Key: HADOOP-18305
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18305
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: build
>    Affects Versions: 3.3.3
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.3.4
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Create a Hadoop 3.3.4 release with
> * critical fixes
> * ARM artifacts as well as the intel ones



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to