args[2] = "-D";
args[3] = "mapred.output.committer.class=testjar.CustomOutputCommitter";
args[4] = input.toString();
args[5] = output.toString();
JobConf jobConf = mr.createJobConf();
int ret = ToolRunner.run(jobConf, new WordCount(), args);
assertTrue("not failed ", ret == 0);
} finally {
if (dfs != null) {dfs.shutdown();};
if (mr != null) {mr.shutdown();};