Hi Jacek, This applies to all schedulers actually -- it just tells Spark to re-check the available nodes and possibly launch tasks on them, because a new stage was submitted. Then when any node is available, the scheduler will call the TaskSetManager with an "offer" for the node.
Matei > On Jun 19, 2016, at 11:54 PM, Jacek Laskowski <ja...@japila.pl> wrote: > > Hi, > > Whenever I see `backend.reviveOffers()` I'm struggling myself with > properly explaining what it does. My understanding is that it requests > a SchedulerBackend (that's responsible for talking to a cluster > manager) to...that's the moment I'm not sure about. > > How would you explain `backend.reviveOffers()`? > > p.s. I understand that it's somehow related to how Mesos manages > resources where it offers resources, but can't find anything related > to `reviving offers` in Mesos docs :( > > Please guide. Thanks! > > Pozdrawiam, > Jacek Laskowski > ---- > https://medium.com/@jaceklaskowski/ > Mastering Apache Spark http://bit.ly/mastering-apache-spark > Follow me at https://twitter.com/jaceklaskowski > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org > For additional commands, e-mail: dev-h...@spark.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org For additional commands, e-mail: dev-h...@spark.apache.org