Details
Description
Currently, the mesos scheduler only looks at the 'cpu' and 'mem' resources when trying to determine the usablility of a resource offer from a mesos slave node. It may be preferable for the user to be able to ensure that the spark jobs are only started on a certain set of nodes (based on attributes).
For example, If the user sets a property, 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.