byte [ ] function ( int arg0 ) { if ( seed == - 1 ) seed = nextLong ( ) ; return randomBytes ( seed , arg0 ) ; }
create a buffer that contains the entire test file data . concode_field_sep ThreadLocal<Random> RANDOM concode_elem_sep Random SEED concode_elem_sep long seed concode_elem_sep int BLOCK_SIZE concode_elem_sep int NUM_BLOCKS concode_elem_sep int FILE_SIZE concode_elem_sep Log LOG concode_elem_sep Long RANDOM_NUMBER_GENERATOR_SEED concode_field_sep void testAppend concode_elem_sep void checkData concode_elem_sep int[] randomFilePartition concode_elem_sep int nextInt concode_elem_sep int nextInt concode_elem_sep void check concode_elem_sep void check concode_elem_sep int nextLong concode_elem_sep FSDataOutputStream createFile concode_elem_sep void checkFullFile concode_elem_sep void checkFullFile concode_elem_sep void checkFullFile concode_elem_sep void sleep concode_elem_sep FileSystem createHdfsWithDifferentUsername concode_elem_sep Random initialValue concode_elem_sep void write concode_elem_sep byte[] randomBytes