All test cases failed in TestFairScheduler
------------------------------------------

                 Key: MAPREDUCE-2385
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2385
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: contrib/fair-share
    Affects Versions: 0.21.0
            Reporter: Denny Ye


All test cases failed due to there is no #canBeSpeculated(long) method at inner 
class FakeTaskInProgress. Each case may call the #update() method in 
FairScheduler, using #canBeSpeculated(long) method in TaskInProgress if no 
override at FakeTaskInProgress.

It can be fixed like this:
class FakeTaskInProgress extends TaskInProgress {

//...
    public boolean canBeSpeculated(long time) {
        return false;
    }
//...
}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to