[ https://issues.apache.org/jira/browse/MAPREDUCE-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer resolved MAPREDUCE-1652. ----------------------------------------- Resolution: Duplicate I'm going to dupe this to MAPREDUCE-2041 since: a) there are more people on it b) the error message should get fixed when the race condition gets fixed > Tasks need to emit a better error message when job-acls.xml file cannot be > created > ---------------------------------------------------------------------------------- > > Key: MAPREDUCE-1652 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1652 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 0.22.0 > Reporter: Ravi Gummadi > > If task cannot create job-acls.xml in > userlogs/$jobid/task-attempt-dir(because of disc being full, OR disc has gone > bad, etc), then task should emit a better error message instead of failing > with FileNotFoundException in writeJobACLs(). > The stack trace shown currently is: > java.lang.Throwable: Child Error > at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:242) > Caused by: java.io.FileNotFoundException: > $mapred-local-dir/userlogs/job_201003240402_0402/attempt_201003240402_0402_m_002091_0/job-acl.xml > (No such > file or directory) > at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.<init>(FileOutputStream.java:179) > at java.io.FileOutputStream.<init>(FileOutputStream.java:131) > at > org.apache.hadoop.mapred.TaskRunner.writeJobACLs(TaskRunner.java:303) > at > org.apache.hadoop.mapred.TaskRunner.prepareLogFiles(TaskRunner.java:286) > at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:205) -- This message was sent by Atlassian JIRA (v6.2#6252)