Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5610

TestSleepJob fails in jdk7

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.10, 2.3.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      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

        Attachments

        1. MAPREDUCE-5610.patch
          0.9 kB
          Jonathan Turner Eagles
        2. MAPREDUCE-5610.patch
          2 kB
          Jonathan Turner Eagles
        3. MAPREDUCE-5610.patch
          2 kB
          Jonathan Turner Eagles
        4. MAPREDUCE-5610.patch
          2 kB
          Jonathan Turner Eagles

          Activity

            People

            • Assignee:
              jeagles Jonathan Turner Eagles
              Reporter:
              jeagles Jonathan Turner Eagles
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: