You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "witgo (JIRA)" <ji...@apache.org> on 2014/04/17 15:57:16 UTC

[jira] [Commented] (SPARK-1525) TaskSchedulerImpl should decrease availableCpus by spark.task.cpus not 1

    [ https://issues.apache.org/jira/browse/SPARK-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13972957#comment-13972957 ] 

witgo commented on SPARK-1525:
------------------------------

The latest code already fix the bug.

> TaskSchedulerImpl should decrease availableCpus by spark.task.cpus not 1
> ------------------------------------------------------------------------
>
>                 Key: SPARK-1525
>                 URL: https://issues.apache.org/jira/browse/SPARK-1525
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>            Reporter: YanTang Zhai
>            Priority: Minor
>
> TaskSchedulerImpl decreases availableCpus by 1 in resourceOffers process always even though spark.task.cpus is more than 1, which will schedule more tasks to some node when spark.task.cpus is more than 1.



--
This message was sent by Atlassian JIRA
(v6.2#6252)