HDFS-2344. Fix the TestOfflineEditsViewer test failure in 0.23 branch. Contributed by Uma Maheswara Rao G.