You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Jagadish (JIRA)" <ji...@apache.org> on 2018/04/25 18:17:00 UTC

[jira] [Created] (SAMZA-1687) Prioritize preferred host requests over ANY-HOST requests

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)