hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denny Ye (JIRA)" <j...@apache.org>
Subject [jira] Created: (MAPREDUCE-2385) All test cases failed in TestFairScheduler
Date Tue, 15 Mar 2011 07:29:29 GMT
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

Mime
View raw message