For redundancy, dfs.namenode.name.dir has paths to two different disks.
Thus there are FSImage files on two different disks so that on failure of one disk, the fs image is available from another disk and the Failover Controller is not triggered just because of one disk failure.
Typically, the HDP upgrade will create a backup of FS Images from the path mentioned in dfs.namenode.dir.
In this case it will create a backup of the redundant copy as well, which will be expensive in terms of storage and time.
Is there a way, where we can guide ambari upgrade process to choose one of the redundant files instead of all of them ?