Skip to content

Commit bfae4bd

Browse files
committed
Merge pull request #31 from jacobtomlinson/master
Fixing issue #30 with error "Storage directory /data/dfs/name does not exist" on Docker 1.9.1 on EC2.
2 parents 6d2597d + 756b70c commit bfae4bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2.6.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN apt-get update && \
3737
COPY conf $HADOOP_HOME/etc/hadoop/
3838

3939
# Formatting HDFS
40-
RUN mkdir /data && \
40+
RUN mkdir -p /data/dfs/data /data/dfs/name /data/dfs/namesecondary && \
4141
hdfs namenode -format
4242
VOLUME /data
4343

0 commit comments

Comments
 (0)