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 a49fd3d commit 756b70cCopy full SHA for 756b70c
2.6.0/Dockerfile
@@ -37,10 +37,9 @@ RUN apt-get update && \
37
COPY conf $HADOOP_HOME/etc/hadoop/
38
39
# Formatting HDFS
40
-RUN mkdir /data && \
+RUN mkdir -p /data/dfs/data /data/dfs/name /data/dfs/namesecondary && \
41
hdfs namenode -format
42
VOLUME /data
43
-RUN mkdir -p /data/dfs/data /data/dfs/name /data/dfs/namesecondary
44
45
46
# Helper script for starting YARN
0 commit comments