You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/docker/spark-cluster-managers/spark_mesos/Dockerfile
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@
14
14
# limitations under the License.
15
15
FROM centos:centos6
16
16
17
-
ENV SPARK_PROFILE 1.6
18
-
ENV SPARK_VERSION 1.6.2
17
+
ENV SPARK_PROFILE 2.0
18
+
ENV SPARK_VERSION 2.0.0
19
19
ENV HADOOP_PROFILE 2.3
20
20
ENV HADOOP_VERSION 2.3.0
21
21
@@ -27,6 +27,9 @@ RUN yum install -y \
27
27
wget \
28
28
tar \
29
29
curl \
30
+
svn \
31
+
cyrus-sasl-md5 \
32
+
libevent2-devel \
30
33
&& \
31
34
yum clean all
32
35
@@ -39,7 +42,7 @@ ENV JAVA_HOME /usr/lib/jvm/java
39
42
ENV PATH $PATH:$JAVA_HOME/bin
40
43
41
44
# install spark
42
-
RUN curl -s http://apache.mirror.cdnetworks.com/spark/spark-$SPARK_VERSION/spark-$SPARK_VERSION-bin-hadoop$HADOOP_PROFILE.tgz | tar -xz -C /usr/local/
45
+
RUN curl -s http://www.apache.org/dist/spark/spark-$SPARK_VERSION/spark-$SPARK_VERSION-bin-hadoop$HADOOP_PROFILE.tgz | tar -xz -C /usr/local/
43
46
RUN cd /usr/local && ln -s spark-$SPARK_VERSION-bin-hadoop$HADOOP_PROFILE spark
44
47
45
48
# update boot script
@@ -48,8 +51,8 @@ RUN chown root.root /etc/entrypoint.sh
0 commit comments