Example usage for Java org.apache.hadoop.hdfs AppendTestUtil fields, constructors, methods, implement or subclass
The text is from its open source code.
void | checkFullFile(FileSystem fs, Path name, int len, final byte[] compareContent, String message) Compare the content of a file created from FileSystem and Path with the specified byte[] buffer's content |
FSDataOutputStream | createFile(FileSystem fileSys, Path name, int repl) Creates a file but does not close it Make sure to call close() on the returned stream |
byte[] | initBuffer(int size) create a buffer that contains the entire test file data. |