[ https://issues.apache.org/jira/browse/MAPREDUCE-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904734#action_12904734 ]
Dick King commented on MAPREDUCE-2032: -------------------------------------- I assume we have a convention that tests don't leave junk behind, as opposed to having a convention that tests clean out all possible junk before they start. > TestJobOutputCommitter fails in ant test run > -------------------------------------------- > > Key: MAPREDUCE-2032 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2032 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: task > Reporter: Amareshwari Sriramadasu > > TestJobOutputCommitter fails in a "ant test" run with following exception : > {noformat} > Output directory > /home/amarsri/mapred/build/test/data/test-job-cleanup/output-2 already exists > org.apache.hadoop.fs.FileAlreadyExistsException: Output directory > /home/amarsri/mapred/build/test/data/test-job-cleanup/output-2 already exists > at > org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.checkOutputSpecs(FileOutputFormat.java:141) > at > org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(JobSubmitter.java:391) > at > org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:350) > at org.apache.hadoop.mapreduce.Job$2.run(Job.java:1037) > at org.apache.hadoop.mapreduce.Job$2.run(Job.java:1034) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:396) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1093) > at org.apache.hadoop.mapreduce.Job.submit(Job.java:1034) > at > org.apache.hadoop.mapreduce.lib.output.TestJobOutputCommitter.testKilledJob(TestJobOutputCommitter.java:192) > at > org.apache.hadoop.mapreduce.lib.output.TestJobOutputCommitter.testDefaultCleanupAndAbort(TestJobOutputCommitter.java:232) > {noformat} > But it passes when it is run individually. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.