void function ( ) { setUpMiniCluster ( new HdfsConfiguration ( ) , true ) ; }
create the mini cluster for testing and sub in a custom runtime so that edit log journal failures do n't actually cause the jvm to exit . concode_field_sep MiniDFSCluster cluster concode_elem_sep FileSystem fs concode_elem_sep int editsPerformed concode_field_sep void testSingleFailedEditsDirOnFlush concode_elem_sep EditLogFileOutputStream spyOnStream concode_elem_sep boolean doAnEdit concode_elem_sep void shutDownMiniCluster concode_elem_sep void testSingleRequiredFailedEditsDirOnSetReadyToFlush concode_elem_sep void testAllEditsDirsFailOnFlush concode_elem_sep void testAllEditsDirFailOnWrite concode_elem_sep void testSingleFailedEditsDirOnSetReadyToFlush concode_elem_sep JournalAndStream getJournalAndStream concode_elem_sep void invalidateEditsDirAtIndex concode_elem_sep void testMultipleRedundantFailedEditsDirOnSetReadyToFlush