public static boolean doRaid ( Configuration conf , FileStatus stat , Path destPath , Codec codec , Statistics statistics , Progressable reporter , boolean doSimulate , int targetRepl , int metaRepl ) throws IOException { boolean succeed = false ; for ( EncodingCandidate ec : RaidNode . splitPaths ( conf , codec , stat ) ) { succeed = succeed || doRaid ( conf , ec , destPath , codec , statistics , reporter , doSimulate , targetRepl , metaRepl ) ; } return succeed ; }
only used by test