question: prepare directory for a failure : replace the given directory on the local filesystem with a regular file with the same name . this would cause failure of creation of directory in diskchecker.checkdir with the same name . concode_field_sep int numLogDirs concode_elem_sep long DISK_HEALTH_CHECK_INTERVAL concode_elem_sep File testDir concode_elem_sep FileContext localFS concode_elem_sep Log LOG concode_elem_sep File localFSDirBase concode_elem_sep MiniYARNCluster yarnCluster concode_elem_sep int numLocalDirs concode_elem_sep LocalDirsHandlerService dirsHandler concode_field_sep void testLocalDirsFailures concode_elem_sep void testLogDirsFailures concode_elem_sep void testDirFailuresOnStartup concode_elem_sep void setup concode_elem_sep void verifyDisksHealth concode_elem_sep void testDirsFailures concode_elem_sep void teardown concode_elem_sep void waitForDiskHealthCheck
target: void function ( String arg0 ) { File loc0 = new File ( arg0 ) ; FileUtil . fullyDelete ( loc0 ) ; loc0 . createNewFile ( ) ; LOG . info ( "srini_string" + arg0 + "srini_string" ) ; }