HDFS-7208. NN doesn't schedule replication when a DN storage fails.  Contributed by Ming Ma
HDFS-5089. When a LayoutVersion support SNAPSHOT, it must support FSIMAGE_NAME_OPTIMIZATION.