2020-03-22 22:00:51,467 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: Failed to start namenode.
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /export/servers/hadoop-2.6.0-cdh5.14.0/HAhadoopDatas/tmp/dfs/name is in an inconsistent state: storage directory does not exist or is not accessible.
1 .关闭集群
2.格式化hdfs 命令:hdfs namenode -format(注意需要temp文件下的文件拷贝到其他节点上)
3.打开集群