Skip to content

Commit dad297c

Browse files
author
astroshim
committed
update version
1 parent 4c8d72d commit dad297c

File tree

1 file changed

+3
-3
lines changed
  • scripts/docker/spark-cluster-managers/spark_yarn_cluster

1 file changed

+3
-3
lines changed

scripts/docker/spark-cluster-managers/spark_yarn_cluster/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ FROM centos:centos6
1616

1717
ENV SPARK_PROFILE 2.0
1818
ENV SPARK_VERSION 2.0.0
19-
ENV HADOOP_PROFILE 2.3
20-
ENV HADOOP_VERSION 2.3.0
19+
ENV HADOOP_PROFILE 2.7
20+
ENV HADOOP_VERSION 2.7.0
2121

2222
# Update the image with the latest packages
2323
RUN yum update -y; yum clean all
@@ -69,7 +69,7 @@ RUN chmod 777 /data/
6969
RUN $HADOOP_PREFIX/bin/hdfs namenode -format
7070

7171
RUN rm /usr/local/hadoop/lib/native/*
72-
RUN curl -Ls http://dl.bintray.com/sequenceiq/sequenceiq-bin/hadoop-native-64.tar|tar -x -C /usr/local/hadoop/lib/native/
72+
RUN curl -Ls http://dl.bintray.com/sequenceiq/sequenceiq-bin/hadoop-native-64-$HADOOP_VERSION.tar|tar -x -C /usr/local/hadoop/lib/native/
7373

7474
# install spark
7575
RUN curl -s http://archive.apache.org/dist/spark/spark-$SPARK_VERSION/spark-$SPARK_VERSION-bin-hadoop$HADOOP_PROFILE.tgz | tar -xz -C /usr/local/

0 commit comments

Comments
 (0)