Home:ALL Converter>Hadoop Installation: Format Namenode

Hadoop Installation: Format Namenode

Ask Time:2014-07-07T12:20:07         Author:user2590144

Json Formatter

I'm struggling with installing Hadoop 2.2.0 on my Mac OSX 10.9.3. I essentially followed this tutorial: http://www.alexjf.net/blog/distributed-systems/hadoop-yarn-installation-definitive-guide

When I run $HADOOP_PREFIX/bin/hdfs namenode -format to format namenode, I get the message: SHUTDOWN_MSG: Shutting down NameNode at Macintosh.local/192.168.0.103. I believe this is preventing me from successfully running the test

$HADOOP_PREFIX/bin/hadoop jar $HADOOP_PREFIX/share/hadoop/yarn/hadoop-yarn-applications-
distributedshell-2.2.0.jar org.apache.hadoop.yarn.applications.distributedshell.Client --jar 
$HADOOP_PREFIX/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.2.0.jar --
shell_command date --num_containers 2 --master_memory 1024

Does anyone know how to correctly format namenode?

(Regarding the test command above, someone mentioned to me that it could have something to do with the hdfs file system not functioning properly, if this is relevant.)

Author:user2590144,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/24602989/hadoop-installation-format-namenode
yy