Home:ALL Converter>Hadoop namenode format not working

Hadoop namenode format not working

Ask Time:2015-05-05T01:26:49         Author:Eleni Tzag

Json Formatter

I've been trying to install hadoop 2.7.0 on Ubuntu but when i enter the hadoop namenode -format command i get the following message:

Error: Could not find or load main class org.apache.hadoop.hdfs.server.namenode.NameNode

I've triple checked all the configuration files but i can't seem to find where the problem is. I followed this tutorial : http://www.bogotobogo.com/Hadoop/BigData_hadoop_Install_on_ubuntu_single_node_cluster.php
Can anyone please tell me why is this not working??

Author:Eleni Tzag,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/30036179/hadoop-namenode-format-not-working
yy