Hi Sai,

in this simple case Mesos will offer pretty much 50% for each framework.
Let's say that R1-R5 will be offered to F1 and R6-R10 will be offered to F2.
When resource is offered to a framework it won't be offered to other
framework unless the offer is rejected (or the after certain timeout it will
be offered to other framework). If F2 will reject all offers, R6-R10 will be
offered to F1.

Mesos is using Dominant Resource Fairness algorithm, which tries fair
allocation of different types of resources (CPU and RAM). So F1 might get
e.g. 80% of CPUs and F2 80% of RAM (if frameworks have different dominant
resource). If you want to allocate 100% of CPU and 100% of RAM it might
never happen, that is a sort of disadvantage. You should write your
frameworks in a way that it will be able to run on smaller portion of
resources.

Tomas





--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Mesos-Scheduler-tp1603p2344.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Reply via email to