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/05/15 19:50:00 UTC

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

     [ https://issues.apache.org/jira/browse/SAMZA-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jagadish closed SAMZA-1687.
---------------------------

> 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
>            Priority: Major
>             Fix For: 0.14.1
>
>
> 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)