hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (YARN-1018) prereq check for AMRMClient.ContainerRequest relaxLocality flag wrong
Date Thu, 31 Oct 2013 15:47:26 GMT

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

Steve Loughran reopened YARN-1018:
----------------------------------


I'm re-opening this as it prevents containers without placement constraints being requested
with the same priority as containers with restrictions. This check says "you can't flip the
locality bit", while another check in the client says "you can't have different locality restrictions
in the same priority"

> prereq check for AMRMClient.ContainerRequest relaxLocality flag wrong
> ---------------------------------------------------------------------
>
>                 Key: YARN-1018
>                 URL: https://issues.apache.org/jira/browse/YARN-1018
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 2.1.0-beta
>            Reporter: Steve Loughran
>            Priority: Minor
>
> Trying to create a container request with no racks/nodes and no relaxed priority fails
> {code}
> new AMRMClient.ContainerRequest(capability, null, null, 0, false);
> {code}
> expected: a container request.
> actual: stack trace saying I can't relax node locality.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message