Reputation: 57
I'am trying to set up the pseudo distributed mode for Hadoop. all first steps are ok, but when I format the namenode and browse the filesystem (50070), it shows "there are no datanode in the cluster"
http://hadoop.apache.org/docs/stable/single_node_setup.html
should I do other configuration? change directory path?
thanks
Upvotes: 0
Views: 1070
Reputation: 30089
From your comments it looks like you've formatted your name node twice, but not deleted the underlying data for the data node.
I suggest you clean up as follows:
bin/stop-all.sh
)conf/hdfs-site.xml
conf file
dfs.name.dir
dfs.data.dir
bin/start-dfs.sh
)If you're still having problems, post your name node and data node logs back into your original question
Upvotes: 1