[
https://issues.apache.org/jira/browse/MAPREDUCE-5610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Lowe updated MAPREDUCE-5610:
----------------------------------
Resolution: Fixed
Fix Version/s: 0.23.10
2.3.0
3.0.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Thanks, Jon! I committed this to trunk, branch-2, and branch-0.23.
> TestSleepJob fails in jdk7
> --------------------------
>
> Key: MAPREDUCE-5610
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5610
> Project: Hadoop Map/Reduce
> Issue Type: Test
> Reporter: Jonathan Eagles
> Assignee: Jonathan Eagles
> Fix For: 3.0.0, 2.3.0, 0.23.10
>
> Attachments: MAPREDUCE-5610.patch, MAPREDUCE-5610.patch,
> MAPREDUCE-5610.patch, MAPREDUCE-5610.patch
>
>
> In jdk7 tests methods in a class do not run in file order, but rather in
> random order. TestSleepJob hosts are not initialized and a
> NullPointerException is thrown unless testRandomLocation was run first.
> This can be easily seen by running tests individually.
> org.apache.hadoop.mapred.gridmix.TestSleepJob#testStressSubmit
> org.apache.hadoop.mapred.gridmix.TestSleepJob#testReplaySubmit
> org.apache.hadoop.mapred.gridmix.TestSleepJob#testSerialSubmit
> org.apache.hadoop.mapred.gridmix.TestSleepJob#testMapTasksOnlySleepJobs
> org.apache.hadoop.mapred.gridmix.TestSleepJob#testRandomLocation
--
This message was sent by Atlassian JIRA
(v6.1#6144)