void function ( ) { initializeMocks ( new long [ ] { DEFAULT_BLOCK_SIZE , DEFAULT_BLOCK_SIZE , DEFAULT_BLOCK_SIZE } , DEFAULT_REPLICATION ) ; Assert . assertTrue ( fastMergerDecisionMaker . isFastMergePossible ( fileMetadata ) ) ; }
all blocks are of same size which is same as default blocksize . then fast merge is possible concode_field_sep FastMergerDecisionMaker fastMergerDecisionMaker concode_elem_sep FileStatus status0 concode_elem_sep OutputFileMetadata fileMetadata concode_elem_sep FileStatus status1 concode_elem_sep FileSystem appFS concode_elem_sep long DEFAULT_BLOCK_SIZE concode_elem_sep FileStatus status2 concode_elem_sep short[] DEFAULT_REPLICATION concode_field_sep void testIntermediateBlockDifferentSize concode_elem_sep void testAllExceptLastBlockMultipleOfDefaultBlockSize concode_elem_sep void setup concode_elem_sep void testAllExceptLastBlockDefaultBlockSize concode_elem_sep void testReplicationNotMatching concode_elem_sep void testMissingBlock concode_elem_sep void initializeMocks