Ambari安装HDFS报错:
2018-02-08 10:01:58,785 WARN common.Storage (DataStorage.java:loadDataStorage(449)) - Failed to add storage directory [DISK]file:/data2/hadoop/hdfs/data/
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /data1/hadoop/hdfs/data is in an inconsistent state: cluster Id is incompatible with others.
解决办法:
rm -rf /data1/hadoop/hdfs/data
重启DataNode