[
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)