conf.set(JobContext.MAP_DEBUG_SCRIPT, "/bin/echo");
conf.set(JobContext.REDUCE_DEBUG_SCRIPT, "/bin/echo");
Job j = MapReduceTestUtil.createJob(conf, new Path(TEST_DIR, "in"),
new Path(TEST_DIR, "out"), 0, 0);
// Add the local filed created to the cache files of the job
j.addCacheFile(new URI(CACHE_FILE_PATH));
j.setMaxMapAttempts(1);
j.setMaxReduceAttempts(1);
// Submit the job and return immediately.
// Job submit now takes care setting the last
// modified time of the cache file.