I am trying to run hadoop on ubuntu server. After i start all services and typ JPS I get
hduser@HDFS1:/usr/local/hadoop/etc/hadoop$ jps
5938 DataNode
6133 SecondaryNameNode
6287 ResourceManager
6431 NodeManager
6751 Jps
I believe I should NameNode along with the secondary namne node.
The hdfs-site.xml is
<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
<property>
<name>dfs.namenode.name.dir</name>
<value>file:/usr/local/hadoop_tmp/hdfs/datanode</value>
</property>
<property>
<name>dfs.datanode.data.dir</name>
<value>file:/usr/local/hadoop_tmp/hdfs/datanode</value>
</property>
</configuration>
I have also tried the configuration from another question similar to this with no luck.
hdfs dfsadmin -report? The output ofhdfs fsck /? What about the namenode logs? Have you triedhdfs namenode -recover? - alvits