We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc6ef81 commit a0744a4Copy full SHA for a0744a4
Dockerfile
@@ -53,7 +53,8 @@ RUN curl -sL --retry 3 \
53
"http://archive.apache.org/dist/hadoop/common/hadoop-$HADOOP_VERSION/hadoop-$HADOOP_VERSION.tar.gz" \
54
| gunzip \
55
| tar -x -C /usr/ \
56
- && rm -rf $HADOOP_HOME/share/doc
+ && rm -rf $HADOOP_HOME/share/doc \
57
+ && chown -R root:root $HADOOP_HOME
58
59
# SPARK
60
ENV SPARK_VERSION 2.0.0
@@ -65,7 +66,8 @@ RUN curl -sL --retry 3 \
65
66
"http://d3kbcqa49mib13.cloudfront.net/${SPARK_PACKAGE}.tgz" \
67
68
| tar x -C /usr/ \
- && mv /usr/$SPARK_PACKAGE $SPARK_HOME
69
+ && mv /usr/$SPARK_PACKAGE $SPARK_HOME \
70
+ && chown -R root:root $SPARK_HOME
71
72
WORKDIR $SPARK_HOME
73
CMD ["bin/spark-class", "org.apache.spark.deploy.master.Master"]
0 commit comments