What the command “hadoop namenode -format” will do

后端 未结 5 1900
眼角桃花
眼角桃花 2020-12-28 16:34

I am trying to learn Hadoop by following a tutorial and trying to do pseudo-distributed mode on my machine.

My core-site.xml is:



        
5条回答
  •  长发绾君心
    2020-12-28 17:16

    Hadoop namenode -format

    • Hadoop namenode directory contains the fsimage and edit files which holds the basic information's about hadoop file system such as where is data available, which user created files like that

    • If you format the namenode then the above information's are deleted from namenode directory which is specified in the hdfs-site.xml as dfs.namenode.name.dir

    • But you still have the datas on the hadoop but not namenode meta data

提交回复
热议问题