Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4699

TestFairScheduler & TestCapacityScheduler fails due to JobHistory exception

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.1.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Target Version/s:

      Description

      TestFairScheduler fails due to exception from mapred.JobHistory

      null
      java.lang.NullPointerException
      	at org.apache.hadoop.mapred.JobHistory$JobInfo.logJobPriority(JobHistory.java:1975)
      	at org.apache.hadoop.mapred.JobInProgress.setPriority(JobInProgress.java:895)
      	at org.apache.hadoop.mapred.TestFairScheduler.testFifoPool(TestFairScheduler.java:2617)
      

      TestCapacityScheduler fails due to

      java.lang.NullPointerException
          at org.apache.hadoop.mapred.JobHistory$JobInfo.logJobPriority(JobHistory.java:1976)
          at org.apache.hadoop.mapred.JobInProgress.setPriority(JobInProgress.java:895)
          at org.apache.hadoop.mapred.TestCapacityScheduler$FakeTaskTrackerManager.setPriority(TestCapacityScheduler.java:653)
          at org.apache.hadoop.mapred.TestCapacityScheduler.testHighPriorityJobInitialization(TestCapacityScheduler.java:2666)
      

      Update UtilsForTest::getJobTracker to call initialize()/initializeFileSystem() to match behaviour in pre-safe mode constructor.

      1. mapreduce-4699.patch
        2 kB
        Gopal V
      2. MAPREDUCE4699.txt
        3 kB
        Siddharth Seth

        Activity

        Gopal V created issue -
        Gopal V made changes -
        Field Original Value New Value
        Summary TestFairScheduler fails due to JobHistory exception TestFairScheduler & TestCapacityScheduler fails due to JobHistory exception
        Description TestFairScheduler fails due to exception from mapred.JobHistory

        {code}
        null
        java.lang.NullPointerException
        at org.apache.hadoop.mapred.JobHistory$JobInfo.logJobPriority(JobHistory.java:1975)
        at org.apache.hadoop.mapred.JobInProgress.setPriority(JobInProgress.java:895)
        at org.apache.hadoop.mapred.TestFairScheduler.testFifoPool(TestFairScheduler.java:2617)
        {code}

        TestFairScheduler fails due to exception from mapred.JobHistory

        {code}
        null
        java.lang.NullPointerException
        at org.apache.hadoop.mapred.JobHistory$JobInfo.logJobPriority(JobHistory.java:1975)
        at org.apache.hadoop.mapred.JobInProgress.setPriority(JobInProgress.java:895)
        at org.apache.hadoop.mapred.TestFairScheduler.testFifoPool(TestFairScheduler.java:2617)
        {code}

        TestCapacityScheduler fails due to

        {code}
        java.lang.NullPointerException
            at org.apache.hadoop.mapred.JobHistory$JobInfo.logJobPriority(JobHistory.java:1976)
            at org.apache.hadoop.mapred.JobInProgress.setPriority(JobInProgress.java:895)
            at org.apache.hadoop.mapred.TestCapacityScheduler$FakeTaskTrackerManager.setPriority(TestCapacityScheduler.java:653)
            at org.apache.hadoop.mapred.TestCapacityScheduler.testHighPriorityJobInitialization(TestCapacityScheduler.java:2666)
        {code}
        Gopal V made changes -
        Attachment mapreduce-4699.patch [ 12547456 ]
        Gopal V made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Release Note Update UtilsForTest::getJobTracker to call initialize()/initializeFileSystem() to match behaviour in pre-safe mode constructor.
        Siddharth Seth made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Target Version/s 1.1.1, 1.2.0 [ 12321660, 12321661 ]
        Assignee Gopal V [ gopalv ]
        Matt Foley made changes -
        Target Version/s 1.1.1, 1.2.0 [ 12321660, 12321661 ] 1.2.0 [ 12321661 ]
        Siddharth Seth made changes -
        Attachment MAPREDUCE4699.txt [ 12556161 ]
        Siddharth Seth made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 1.1.2 [ 12323594 ]
        Resolution Fixed [ 1 ]
        Matt Foley made changes -
        Target Version/s 1.2.0 [ 12321661 ] 1.1.2 [ 12323594 ]
        Matt Foley made changes -
        Release Note Update UtilsForTest::getJobTracker to call initialize()/initializeFileSystem() to match behaviour in pre-safe mode constructor.
        Description TestFairScheduler fails due to exception from mapred.JobHistory

        {code}
        null
        java.lang.NullPointerException
        at org.apache.hadoop.mapred.JobHistory$JobInfo.logJobPriority(JobHistory.java:1975)
        at org.apache.hadoop.mapred.JobInProgress.setPriority(JobInProgress.java:895)
        at org.apache.hadoop.mapred.TestFairScheduler.testFifoPool(TestFairScheduler.java:2617)
        {code}

        TestCapacityScheduler fails due to

        {code}
        java.lang.NullPointerException
            at org.apache.hadoop.mapred.JobHistory$JobInfo.logJobPriority(JobHistory.java:1976)
            at org.apache.hadoop.mapred.JobInProgress.setPriority(JobInProgress.java:895)
            at org.apache.hadoop.mapred.TestCapacityScheduler$FakeTaskTrackerManager.setPriority(TestCapacityScheduler.java:653)
            at org.apache.hadoop.mapred.TestCapacityScheduler.testHighPriorityJobInitialization(TestCapacityScheduler.java:2666)
        {code}
        TestFairScheduler fails due to exception from mapred.JobHistory

        {code}
        null
        java.lang.NullPointerException
        at org.apache.hadoop.mapred.JobHistory$JobInfo.logJobPriority(JobHistory.java:1975)
        at org.apache.hadoop.mapred.JobInProgress.setPriority(JobInProgress.java:895)
        at org.apache.hadoop.mapred.TestFairScheduler.testFifoPool(TestFairScheduler.java:2617)
        {code}

        TestCapacityScheduler fails due to

        {code}
        java.lang.NullPointerException
            at org.apache.hadoop.mapred.JobHistory$JobInfo.logJobPriority(JobHistory.java:1976)
            at org.apache.hadoop.mapred.JobInProgress.setPriority(JobInProgress.java:895)
            at org.apache.hadoop.mapred.TestCapacityScheduler$FakeTaskTrackerManager.setPriority(TestCapacityScheduler.java:653)
            at org.apache.hadoop.mapred.TestCapacityScheduler.testHighPriorityJobInitialization(TestCapacityScheduler.java:2666)
        {code}

        Update UtilsForTest::getJobTracker to call initialize()/initializeFileSystem() to match behaviour in pre-safe mode constructor.
        Matt Foley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Gopal V
            Reporter:
            Gopal V
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development