-
- Downloads
SPARK-1171: when executor is removed, we should minus totalCores instead of...
SPARK-1171: when executor is removed, we should minus totalCores instead of just freeCores on that executor https://spark-project.atlassian.net/browse/SPARK-1171 When the executor is removed, the current implementation will only minus the freeCores of that executor. Actually we should minus the totalCores... Author: CodingCat <zhunansjtu@gmail.com> Author: Nan Zhu <CodingCat@users.noreply.github.com> Closes #63 from CodingCat/simplify_CoarseGrainedSchedulerBackend and squashes the following commits: f6bf93f [Nan Zhu] code clean 19c2bb4 [CodingCat] use copy idiom to reconstruct the workerOffers 43c13e9 [CodingCat] keep WorkerOffer immutable af470d3 [CodingCat] style fix 0c0e409 [CodingCat] simplify the implementation of CoarseGrainedSchedulerBackend
Showing
- core/src/main/scala/org/apache/spark/scheduler/WorkerOffer.scala 1 addition, 1 deletion...c/main/scala/org/apache/spark/scheduler/WorkerOffer.scala
- core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala 6 additions, 2 deletions...ark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala
Please register or sign in to comment