Skip to content

Commit c3523e7

Browse files
author
Ankur Chauhan
committed
Added docs
1 parent 1a24d0b commit c3523e7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/running-on-mesos.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,13 @@ See the [configuration page](configuration.html) for information on Spark config
311311
<td>Attribute based constraints to be matched against when accepting resource offers.</td>
312312
<td>
313313
Attribute based constraints on mesos resource offers. By default, all resource offers will be accepted. Refer to <a href="http://mesos.apache.org/documentation/attributes-resources/">Mesos Attributes & Resources</a> for more information on attributes.
314+
<ul>
315+
<li>Scalar constraints are matched with "less than equal" semantics i.e. value in the constraint must be less than or equal to the value in the resource offer.</li>
316+
<li>Range constraints are matched with "contains" semantics i.e. value in the constraint must be within the resource offer's value.</li>
317+
<li>Set constraints are matched with "subset of" semantics i.e. value in the constraint must be a subset of the resource offer's value.</li>
318+
<li>Text constraints are metched with "equality" semantics i.e. value in the constraint must be exactly equal to the resource offer's value.</li>
319+
<li>In case there is no value present as a part of the constraint any offer with the corresponding attribute will be accepted (without value check).</li>
320+
</ul>
314321
</td>
315322
</tr>
316323
</table>

0 commit comments

Comments
 (0)