Skip to content

Commit 70d4551

Browse files
committed
format namenode
1 parent f4f0c04 commit 70d4551

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spark-cluster/master/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ FROM spark-base:latest
33
COPY ubuntu/etc/supervisor/conf.d/spark.conf /etc/supervisor/conf.d/spark.conf
44
COPY ubuntu/usr/local/bin/start-all.sh /usr/local/bin/start-all.sh
55
COPY ubuntu/usr/local/hadoop/etc/hadoop/* /usr/local/hadoop/etc/hadoop/
6-
COPY ubuntu/usr/local/spark/conf/* /usr/local/spark/conf/
6+
COPY ubuntu/usr/local/spark/conf/* /usr/local/spark/conf/
7+
8+
RUN $HADOOP_HOME/bin/hdfs namenode -format oneoffcoder

0 commit comments

Comments
 (0)