Commands for formatting namenode
1. Format namenode node hdfs namenode-format
two。 Note that formatting commands can only be used on specified namenode nodes
3. What does the format command do? The fsp_w_picpath file is generated, and the formatted directory and file cd / opt/hadoop-2.5/lscd dfs/name/lscd current/ls are viewed by the following command