Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/8639#discussion_r42300656
--- Diff: docs/running-on-mesos.md ---
@@ -194,6 +194,10 @@ conf.set("spark.mesos.constraints",
"tachyon=true;us-east-1=false")
For example, Let's say `spark.mesos.constraints` is set to
`tachyon=true;us-east-1=false`, then the resource offers will be checked to see
if they meet both these constraints and only then will be accepted to start new
executors.
+Spark rejects offers for slaves with unmet constraints for 120 seconds by
default.
+This makes mesos not sending the rejected offers again and again.
+The reject offer duration is configurable using
`conf.set("spark.mesos.rejectOfferDurationForUnmetConstraints", "60")` (for
example).
+
--- End diff --
I actually don't think this is worth documenting. I can't imagine anyone
who wants to set this explicitly as long as we pick a sane enough default.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]