GitHub user shivaram opened a pull request:

    https://github.com/apache/spark/pull/219

    Fix scheduler to account for tasks using > 1 CPUs.

    Move CPUS_PER_TASK to TaskSchedulerImpl as the value is a constant and use 
it in both Mesos and CoarseGrained scheduler backends.
    
    Thanks @kayousterhout for the design discussion

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/shivaram/spark-1 multi-cpus

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/219.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 #219
    
----
commit 647bc4582bb350faf69d1969072a2cc79f2f553e
Author: Shivaram Venkataraman <shiva...@eecs.berkeley.edu>
Date:   2014-03-25T01:53:03Z

    Fix scheduler to account for tasks using > 1 CPUs.
    Move CPUS_PER_TASK to TaskSchedulerImpl as the value is a constant
    and use it in both Mesos and CoarseGrained scheduler backends.

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to