Description
Open files captured in the snapshots have their meta data preserved based on the config
dfs.namenode.snapshot.capture.openfiles (refer HDFS-11402). During the upgrade scenario or when the NameNode gets restarted with config turned on or off, the attributes of the open files captured in the snapshots are influenced accordingly. Better to have a test case to verify open file attributes across config turn on and off, and the current expected behavior with HDFS-11402 so as to catch any regressions in the future.