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.