@Test
public void testFailedTaskJobStatus() throws IOException,
InterruptedException {
Configuration conf = new Configuration(cluster.getConf());
TaskInfo taskInfo = null;
SleepJob job = new SleepJob();
job.setConf(conf);
conf = job.setupJobConf(3, 1, 4000, 4000, 100, 100);
JobConf jobConf = new JobConf(conf);
jobConf.setMaxMapAttempts(20);
jobConf.setMaxReduceAttempts(20);
RunningJob runJob = jobClient.submitJob(jobConf);
JobID id = runJob.getID();