Jagadish created SAMZA-1687:
-------------------------------

             Summary: Prioritize preferred host requests over ANY-HOST requests
                 Key: SAMZA-1687
                 URL: https://issues.apache.org/jira/browse/SAMZA-1687
             Project: Samza
          Issue Type: Bug
            Reporter: Jagadish
            Assignee: Jagadish


Yarn enforces these two checks:
1. ANY_HOST requests should always be made with relax-locality = true
2. A request with relax-locality = false should not be in the same priority as 
another with relax-locality = true

Since the Samza AM makes preferred-host requests with relax-locality = false, 
it follows that ANY_HOST requests should specify a different priority-level. We 
can safely set priority of preferred-host requests to be higher than any-host 
requests since data-locality is critical.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to