Error occurred when Ambari changed Datanode and Namenode path of HDFS

set path

Restarting the Restart History Server will report an error:

After viewing the log, I found the following error:

The reason for the error is:

If the clusterID of the Namenode under the new path is inconsistent with that of the Datanode, you only need to overwrite the clusterID of the Datanode with the Namenode.

The clusterID path of the Datanode:

Namenode's clusterID path: (Find the corresponding server)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324456023&siteId=291194637