public static boolean doRaid(Configuration conf, EncodingCandidate ec,
Path destPath, Codec codec, Statistics statistics,
Progressable reporter, boolean doSimulate, int targetRepl, int metaRepl)
throws IOException {
long startTime = System.currentTimeMillis();
LOGRESULTS result = LOGRESULTS.FAILURE;
Throwable ex = null;
try {
if (codec.isDirRaid) {
result = doDirRaid(conf, ec, destPath, codec, statistics, reporter,
doSimulate, targetRepl, metaRepl);