title: EMR auto scaling behaviour with multiple scale-out rules on Task nodes
body: <p>I have two Scale-out rules:</p>
  
  <p>Scale-out-rule-1: Add <strong>1</strong> instance if <strong>YARNMemoryAvailablePercentage</strong> is less than 15 for <strong>1</strong> five-minute period with a cooldown of 300 seconds.</p>
  
  <p>Scale-out-rule-2: Add <strong>5</strong> instance if <strong>ContainerPendingRatio</strong> is greater than 0.75 for <strong>1</strong> five-minute period with a cooldown of 300 seconds.</p>
  
  <p>Here if both scenarios are matching, </p>
  
  <ol>
  <li>does it process both rules? Any order?</li>
  <li>if the only one rule processed then which one and why?</li>
  </ol>
  
  <p>Appreciate comments on similar scanario for scale in(cluster scale down). </p>