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 file
    • dfs.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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -