You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Denny Ye (JIRA)" <ji...@apache.org> on 2011/03/15 08:29:29 UTC

[jira] Created: (MAPREDUCE-2385) All test cases failed in TestFairScheduler

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