Skip to content

Commit 734efb1

Browse files
authored
HADOOP-18681. Upgrade hadoop3 docker scripts to use 3.3.5. (#5514). Contributed by Ayush Saxena.
Reviewed-by: Chris Nauroth <cnauroth@apache.org>
1 parent 2acaaed commit 734efb1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515

1616
FROM apache/hadoop-runner
17-
ARG HADOOP_URL=https://dlcdn.apache.org/hadoop/common/hadoop-3.3.1/hadoop-3.3.1.tar.gz
17+
ARG HADOOP_URL=https://dlcdn.apache.org/hadoop/common/hadoop-3.3.5/hadoop-3.3.5.tar.gz
1818
WORKDIR /opt
1919
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
2020
WORKDIR /opt/hadoop

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1818
set -e
1919
mkdir -p build
20-
if [ ! -d "$DIR/build/apache-rat-0.13" ]; then
21-
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"
20+
if [ ! -d "$DIR/build/apache-rat-0.15" ]; then
21+
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"
2222
cd $DIR/build
2323
tar zvxf apache-rat.tar.gz
2424
cd -
2525
fi
26-
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
26+
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
2727
docker build -t apache/hadoop:3 .

0 commit comments

Comments
 (0)