A new feature "appends to HDFS files" have been implemented in HADOOP-1700. There are a set of unit tests in TestFileAppend.java and TestFileAppend2.java. But we would like to have more unit tests.
Design and Implement a Test Plan to support appends to HDFS files
Append to files in HDFS
Create more unit tests for testing HDFS appends