This jira tracks the effort of implementing unit tests for downgrades and finalization during rolling upgrades.
The patch needs to be rebased.
The conflict is likely due to HDFS-5963 which was just committed.
+1 for the patch. I committed it to the RU feature branch.
Thanks for the contribution Haohui.