cd $HADOOP_HOME
sbin/start-dfs.sh
jps
cd /data/
cd cd $HADOOP_HOME
ls
cd $HADOOP_HOME
ls
cd logs/
ls
cat hadoop-root-namenode-master.centos.com.log
sbin/start-dfs.sh
jps
cd /data/
cd cd $HADOOP_HOME
ls
cd $HADOOP_HOME
ls
cd logs/
ls
cat hadoop-root-namenode-master.centos.com.log
tail -n 500 hadoop-root-namenode-master.centos.com.log
找到错误之后再去格式化