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)