From d64108415271cb636f0c8bc935dcf476cfe5e64a Mon Sep 17 00:00:00 2001 From: malykhin Date: Thu, 24 Dec 2020 04:24:36 +0200 Subject: [PATCH] Fix hadoop repository path template --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0ab7234..ed20278 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ ARG MIRROR=https://apache.osuosl.org ARG HADOOP_VERSION=3.2.1 # download remotely -RUN wget $MIRROR/hadoop/common/stable/hadoop-$HADOOP_VERSION.tar.gz +RUN wget $MIRROR/hadoop/common/hadoop-$HADOOP_VERSION/hadoop-$HADOOP_VERSION.tar.gz RUN tar -xzf hadoop-$HADOOP_VERSION.tar.gz # copy from local - to use, remove .dockerignore @@ -69,4 +69,4 @@ RUN hadoop fs -chmod g+w $HADOOP_STORAGE # https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-RunningHiveServer2andBeeline.1 RUN schematool -dbType derby -initSchema VOLUME [ "${HADOOP_STORAGE}", "${METASTORE_DB}" ] -CMD beeline -u jdbc:hive2:// \ No newline at end of file +CMD beeline -u jdbc:hive2://