Fix bug for appending a renamed file.
Initial patch with a new unit test.
+1 patch looks good.
I have committed this. Thanks, Jing!
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