Failed to add storage directory [DISK]file:/dfs/dn
java.io.IOException: Incompatible clusterIDs in /dfs/dn: namenode clusterID = cluster79; datanode clusterID = cluster90
**
修改 /dfs/dn/current 和 /opt/dfs/dn/current 中的VERSION
cd /dfs/dn/current
cd /opt/dfs/dn/current
nano VERSION
#Tue Dec 24 17:38:50 CST 2019
storageID=DS-c63fbdfa-f1e5-48d7-b0e8-05752296ceae
clusterID=cluster90
cTime=0
datanodeUuid=4cf7e649-27ae-48fd-a038-97e41de0d5bc
storageType=DATA_NODE
layoutVersion=-57
修改 clusterID
#Tue Dec 24 17:38:50 CST 2019
storageID=DS-c63fbdfa-f1e5-48d7-b0e8-05752296ceae
clusterID=cluster90
cTime=0
datanodeUuid=4cf7e649-27ae-48fd-a038-97e41de0d5bc
storageType=DATA_NODE
layoutVersion=-57
修改后启动 datanode