Fix bug for appending a renamed file.
Integrated in Hadoop-Hdfs-Snapshots-Branch-build #169 (See https://builds.apache.org/job/Hadoop-Hdfs-Snapshots-Branch-build/169/)
HDFS-4742. Fix appending to a renamed file with snapshot. Contributed by Jing Zhao (Revision 1475903)
Result = FAILURE
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1475903
I have committed this. Thanks, Jing!
+1 patch looks good.
Initial patch with a new unit test.