Commit e7927ad
committed
Merge pull request alteryx#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.
(cherry picked from commit 1a4cfbe)
Signed-off-by: Reynold Xin <[email protected]>1 parent 41dc566 commit e7927ad
File tree
1 file changed
+1
-0
lines changed- core/src/main/scala/org/apache/spark/scheduler/cluster/mesos
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
0 commit comments