GitHub user CodingCat opened a pull request:
https://github.com/apache/spark/pull/339
SPARK-1143: refactor TaskSchedulerImplSuite using
taskScheduler.resourceOffer
https://issues.apache.org/jira/browse/SPARK-1143
The current TaskSchedulerImplSuite actually bypasses the scheduling code
(mainly resourceOffer())
In this patch, I removed the original dummy ResourceOffer make the test
case call taskScheduler.resourceOffer() directly,
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/CodingCat/spark SPARK-1143
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/339.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #339
----
commit b5f06cbb536acc66d8d7614292da28309d4ca321
Author: CodingCat <[email protected]>
Date: 2014-03-12T01:17:50Z
refactor Suite using taskScheduler.resourceOffer
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---