This is an automated email from the ASF dual-hosted git repository.

ayushsaxena pushed a commit to branch docker-hadoop-3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/docker-hadoop-3 by this push:
     new 734efb104c7 HADOOP-18681. Upgrade hadoop3 docker scripts to use 3.3.5. 
(#5514). Contributed by Ayush Saxena.
734efb104c7 is described below

commit 734efb104c728a8068095da6c5f91f9fe2fa650d
Author: Ayush Saxena <ayushsax...@apache.org>
AuthorDate: Tue Mar 28 11:53:25 2023 +0530

    HADOOP-18681. Upgrade hadoop3 docker scripts to use 3.3.5. (#5514). 
Contributed by Ayush Saxena.
    
    Reviewed-by: Chris Nauroth <cnaur...@apache.org>
---
 Dockerfile | 2 +-
 build.sh   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 7c85782a51a..fa615cb8f61 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,7 +14,7 @@
 # limitations under the License.
 
 FROM apache/hadoop-runner
-ARG 
HADOOP_URL=https://dlcdn.apache.org/hadoop/common/hadoop-3.3.1/hadoop-3.3.1.tar.gz
+ARG 
HADOOP_URL=https://dlcdn.apache.org/hadoop/common/hadoop-3.3.5/hadoop-3.3.5.tar.gz
 WORKDIR /opt
 RUN sudo rm -rf /opt/hadoop && curl -LSs -o hadoop.tar.gz $HADOOP_URL && tar 
zxf hadoop.tar.gz && rm hadoop.tar.gz && mv hadoop* hadoop && rm -rf 
/opt/hadoop/share/doc
 WORKDIR /opt/hadoop
diff --git a/build.sh b/build.sh
index 54183648698..e1c128d3fd7 100755
--- a/build.sh
+++ b/build.sh
@@ -17,11 +17,11 @@
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 set -e
 mkdir -p build
-if [ ! -d "$DIR/build/apache-rat-0.13" ]; then
-       curl -LSs 
https://dlcdn.apache.org/creadur/apache-rat-0.13/apache-rat-0.13-bin.tar.gz -o 
"$DIR/build/apache-rat.tar.gz"
+if [ ! -d "$DIR/build/apache-rat-0.15" ]; then
+       curl -LSs 
https://dlcdn.apache.org/creadur/apache-rat-0.15/apache-rat-0.15-bin.tar.gz -o 
"$DIR/build/apache-rat.tar.gz"
        cd $DIR/build
        tar zvxf apache-rat.tar.gz
        cd -
 fi
-java -jar $DIR/build/apache-rat-0.13/apache-rat-0.13.jar $DIR -e public -e 
apache-rat-0.13 -e .git -e .gitignore
+java -jar $DIR/build/apache-rat-0.15/apache-rat-0.15.jar $DIR -e public -e 
apache-rat-0.15 -e .git -e .gitignore
 docker build -t apache/hadoop:3 .


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to