Added support for running hadoop in single node mode. Changed README accordingly

This commit is contained in:
Giannis Mouchakis
2016-03-10 02:40:42 +02:00
parent 6634ef00fb
commit 2b3b4b1205
2 changed files with 30 additions and 13 deletions
+2
View File
@@ -26,3 +26,5 @@ RUN mv hadoop-$HADOOP_VERSION $HADOOP_PREFIX
# add configuration files
ADD core-site.xml $HADOOP_CONF_DIR/core-site.xml
ADD hdfs-site.xml $HADOOP_CONF_DIR/hdfs-site.xml
CMD hdfs namenode -format -nonInteractive & hdfs namenode && hdfs datanode