hadoop - formatting namenode, node is lost -
i'am trying set pseudo distributed mode hadoop. first steps ok, when format namenode , browse filesystem (50070), shows "there no datanode in cluster"
http://hadoop.apache.org/docs/stable/single_node_setup.html
should other configuration? change directory path?
thanks
from comments looks you've formatted name node twice, not deleted underlying data data node.
i suggest clean follows:
- ensure hadoop services stopped (
bin/stop-all.sh
) - remove data in directories named in
conf/hdfs-site.xml
conf filedfs.name.dir
dfs.data.dir
- reformat name node again
- start hdfs (
bin/start-dfs.sh
) - check logs both name node , data node ensure started without error
if you're still having problems, post name node , data node logs original question
Comments
Post a Comment