Merge pull request #169 from kayousterhout/mesos_fix Don't ignore spark.cores.max when using Mesos Coarse mode
totalCoresAcquired is decremented but never incremented, causing Spark to effectively ignore spark.cores.max in coarse grained Mesos mode. Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/1a4cfbea Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/1a4cfbea Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/1a4cfbea Branch: refs/heads/master Commit: 1a4cfbea334c7b0dae287eab4c3131c8f4b8a992 Parents: 5a4f483 5125cd3 Author: Reynold Xin <[email protected]> Authored: Thu Nov 14 10:32:11 2013 -0800 Committer: Reynold Xin <[email protected]> Committed: Thu Nov 14 10:32:11 2013 -0800 ---------------------------------------------------------------------- .../spark/scheduler/cluster/mesos/CoarseMesosSchedulerBackend.scala | 1 + 1 file changed, 1 insertion(+) ----------------------------------------------------------------------
