create a file of the given size filled with random data . concode_field_sep HdfsConfiguration conf concode_elem_sep MiniDFSCluster cluster concode_field_sep void enableShortCircuitShmTracing concode_elem_sep void readAndCheckEOS concode_elem_sep void enableHdfsCachingTracing concode_elem_sep HdfsConfiguration getConf concode_elem_sep void enableBlockReaderFactoryTracing concode_elem_sep List<LocatedBlock> getFileBlocks concode_elem_sep DataNode getDataNode concode_elem_sep BlockReader getBlockReader concode_elem_sep BlockReader getBlockReader concode_elem_sep MiniDFSCluster getCluster concode_elem_sep boolean shouldTestLargeFiles concode_elem_sep void shutdown concode_elem_sep DFSClient getDFSClient
byte [ ] function ( Path arg0 , int arg1 ) { FileSystem loc0 = cluster . getFileSystem ( ) ; DataOutputStream loc1 = loc0 . create ( arg0 ) ; byte loc2 [ ] = new byte [ 1024 * arg1 ] ; new Random ( ) . nextBytes ( loc2 ) ; loc1 . write ( loc2 ) ; loc1 . close ( ) ; return loc2 ; }