What the command “hadoop namenode -format” will do

后端 未结 5 1907
眼角桃花
眼角桃花 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:20

    Namenode contains metadata about the Hadoop filesystem.

    This command (hadoop-1.2.1$ bin/hadoop namenode -format) will format whole Hadoop distributed file system(HDFS). So if you run this command on existing filesystem you will lose all your data.

提交回复
热议问题