From a5791c2ac7fddcbfcaed7137f66b32839ae2ea78 Mon Sep 17 00:00:00 2001 From: Yan Xu Date: Thu, 7 Nov 2019 19:53:18 +0800 Subject: [PATCH] fix hadoop url (#61) --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 35f5309..ce3e3ad 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # Install Hadoop. ENV JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ ENV HADOOP_VERSION 3.2.0 -ENV HADOOP_URL https://archive.apache.org/dist/hadoop/common/stable/hadoop-$HADOOP_VERSION.tar.gz +ENV HADOOP_URL https://archive.apache.org/dist/hadoop/common/hadoop-${HADOOP_VERSION}/hadoop-${HADOOP_VERSION}.tar.gz RUN set -x \ && curl -fsSL "$HADOOP_URL" -o /tmp/hadoop.tar.gz \ && tar -xzf /tmp/hadoop.tar.gz -C /opt/ \