Skip to content

Commit a49fd3d

Browse files
Create directories for hdfs
1 parent 6d2597d commit a49fd3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

2.6.0/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ COPY conf $HADOOP_HOME/etc/hadoop/
4040
RUN mkdir /data && \
4141
hdfs namenode -format
4242
VOLUME /data
43+
RUN mkdir -p /data/dfs/data /data/dfs/name /data/dfs/namesecondary
4344

4445

4546
# Helper script for starting YARN

0 commit comments

Comments
 (0)