Uh oh!
There was an error while loading. Please reload this page.
[SPARK-10471] [CORE] [MESOS] prevent getting offers for unmet constraints - #8639
[SPARK-10471] [CORE] [MESOS] prevent getting offers for unmet constraints#8639felixb wants to merge 1 commit into
Conversation
dragos
commented
Sep 8, 2015
You should probably modify the fine-grained scheduler in the same way. |
There was a problem hiding this comment.
Can we make this configurable? Also please comment on the unit as well.
tnachen
commented
Sep 9, 2015
I think the change makes sense, we're planning to add dynamic attribute changes on the slave but that's not merged yet in Mesos. as @dragos mentioned please add this to coarse grain mode too. |
c1efb1f to
bb79444Comparefelixb
commented
Sep 10, 2015
I made the duration configurable. Still need to add it to fine grained scheduler. |
andrewor14
commented
Sep 10, 2015
ok to test |
There was a problem hiding this comment.
There is also a configurations.md that you should add this too.
There was a problem hiding this comment.
@tnachen, none of the Yarn or Mesos specific settings are listed in there.
SparkQA
commented
Sep 10, 2015
Test build #42277 has finished for PR 8639 at commit
|
bb79444 to
5acfd65Comparefelixb
commented
Sep 11, 2015
Added the same logic for fine grained scheduler. |
SparkQA
commented
Sep 11, 2015
Test build #42320 has finished for PR 8639 at commit
|
5acfd65 to
7626d45CompareSparkQA
commented
Sep 11, 2015
Test build #42321 has finished for PR 8639 at commit
|
7626d45 to
66a1a73CompareSparkQA
commented
Sep 11, 2015
Test build #42324 has finished for PR 8639 at commit
|
66a1a73 to
ce84b1aComparefelixb
commented
Sep 15, 2015
I just rebased to the current upstream/master. |
SparkQA
commented
Sep 15, 2015
Test build #42483 has finished for PR 8639 at commit
|
dragos
commented
Sep 15, 2015
They're probably just flaky. |
ce84b1a to
9e00071Comparefelixb
commented
Sep 16, 2015
fixed typo. |
SparkQA
commented
Sep 16, 2015
Test build #42527 has finished for PR 8639 at commit
|
SleepyThread
commented
Sep 17, 2015
@tnachen@andrewor14 friendly reminder.. |
tnachen
commented
Sep 17, 2015
There is a big HTML table in the bottom of this file, can you also add it On Thu, Sep 17, 2015 at 4:55 AM, Akash Mishra notifications@github.com
|
9e00071 to
58aaa79Comparefelixb
commented
Sep 18, 2015
added to table of parameters. |
SparkQA
commented
Sep 18, 2015
Test build #42646 has finished for PR 8639 at commit
|
SleepyThread
commented
Sep 23, 2015
@tnachen@andrewor14 friendly reminder.. |
There was a problem hiding this comment.
please use conf.getTimeAsSeconds instead, in which case the default value would be "120s"
andrewor14
commented
Oct 16, 2015
@felixb sorry for slipping. This looks pretty good. Thanks for taking the time to fix this. Once you address the comments I will merge this. |
58aaa79 to
69c3e52Comparefelixb
commented
Oct 19, 2015
I worked in all your comments. |
SparkQA
commented
Oct 19, 2015
Test build #43912 has finished for PR 8639 at commit
|
69c3e52 to
72a2855CompareSparkQA
commented
Oct 19, 2015
Test build #43914 has finished for PR 8639 at commit
|
…ints this change rejects offers for slaves with unmet constraints for 120s to mitigate offer starvation. this prevents mesos to send us these offers again and again. in return, we get more offers for slaves which might meet our constraints. and it enables mesos to send the rejected offers to other frameworks.
72a2855 to
785e4aeCompareSparkQA
commented
Oct 20, 2015
Test build #43971 has finished for PR 8639 at commit
|
felixb
commented
Oct 25, 2015
Is there anything else I can do? |
andrewor14
commented
Nov 9, 2015
retest this please |
andrewor14
commented
Nov 9, 2015
LGTM merging into master and 1.6. Thanks for your work and patience! |
this change rejects offers for slaves with unmet constraints for 120s to mitigate offer starvation. this prevents mesos to send us these offers again and again. in return, we get more offers for slaves which might meet our constraints. and it enables mesos to send the rejected offers to other frameworks. Author: Felix Bechstein <felix.bechstein@otto.de> Closes#8639 from felixb/decline_offers_constraint_mismatch. (cherry picked from commit 5039a49) Signed-off-by: Andrew Or <andrew@databricks.com>
SparkQA
commented
Nov 10, 2015
Test build #45416 has finished for PR 8639 at commit
|
Similar to #8639 This change rejects offers for 120s when reached `spark.cores.max` in coarse-grained mode to mitigate offer starvation. This prevents Mesos to send us offers again and again, starving other frameworks. This is especially problematic when running many small frameworks on the same Mesos cluster, e.g. many small Sparks streaming jobs, and cause the bigger spark jobs to stop receiving offers. By rejecting the offers for a long period of time, they become available to those other frameworks. Author: Sebastien Rainville <sebastien@hopper.com> Closes#10924 from sebastienrainville/master.
Similar to #8639 This change rejects offers for 120s when reached `spark.cores.max` in coarse-grained mode to mitigate offer starvation. This prevents Mesos to send us offers again and again, starving other frameworks. This is especially problematic when running many small frameworks on the same Mesos cluster, e.g. many small Sparks streaming jobs, and cause the bigger spark jobs to stop receiving offers. By rejecting the offers for a long period of time, they become available to those other frameworks. Author: Sebastien Rainville <sebastien@hopper.com> Closes#10924 from sebastienrainville/master. (cherry picked from commit eb019af) Signed-off-by: Andrew Or <andrew@databricks.com>
this change rejects offers for slaves with unmet constraints for 120s to mitigate offer starvation.
this prevents mesos to send us these offers again and again.
in return, we get more offers for slaves which might meet our constraints.
and it enables mesos to send the rejected offers to other frameworks.