[ https://issues.apache.org/jira/browse/SPARK-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14049054#comment-14049054 ]
Nan Zhu commented on SPARK-1525: -------------------------------- this is fixed by https://github.com/apache/spark/commit/f8111eaeb0e35f6aa9b1e3ec1173fff207174155 > 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)