1、 排查原因
Initialization failed for Block pool (Datanode Uuid a5d441af-d074-4758-a3ff-e1563b709267) service to node1/192.168.88.101:8020. Exiting.
java.io.IOException: Incompatible clusterIDs in /data/dn: namenode clusterID = CID-674c5515-3fe1-4a9c-881d-d1ae11b2434c; datanode clusterID = CID-2962965a-b17c-4047-8151-e72b8f93fa11
2024-06-30 16:20:01,237 ERROR org.apache.hadoop.hdfs.server.datanode.DataNode: Initialization failed for Block pool (Datanode Uuid a5d441af-d074-4758-a3ff-e1563b709267) service to node1/192.168.88.101:8020. Exiting.
2、解决办法
1、查看/data/namenode/current/VERSION中的clusterID和/data/namenode/current/VERSION中的clusterID是否一致,
如果不一致,改为一致
2、 重启服务,stop-dfs.sh ,start-dfs.sh
3、jsp查看服务状态,查看服务状态,启动成功就解决啦