[
https://issues.apache.org/jira/browse/MAPREDUCE-5828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod Kumar Vavilapalli updated MAPREDUCE-5828:
-----------------------------------------------
Attachment: MAPREDUCE-5828.txt
The problem is that testControlledJob() runs first but exits before the job
finishes. The next test starts, tries to cleanup test output directories but
fails on Windows because the earlier process is still alive. The second test
now fails with an error that the output directory already exists.
Here's a simple patch that makes testControlledJob() wait till the job
finishes. The test passes on JDK 7 + Windows after this patch.
> TestMapReduceJobControl fails on JDK 7 + Windows
> ------------------------------------------------
>
> Key: MAPREDUCE-5828
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5828
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: Vinod Kumar Vavilapalli
> Assignee: Vinod Kumar Vavilapalli
> Attachments: MAPREDUCE-5828.txt
>
>
> It fails when testControlledJob() runs first on Windows with an exception
> message saying "output_2" directory already exists.
--
This message was sent by Atlassian JIRA
(v6.2#6252)