Details
Description
The anti-affinity section in the YARN services doc says,
Note, that the 3 containers will come up on 3 different nodes. If there are less than 3 NMs running in the cluster, then all 3 container requests will not be fulfilled and the service will be in non-STABLE state.
Based on the description the expected behavior for the case of number of NMs less than the number of containers requested isn't very obvious. Opening issue to improve the comment.