[
https://issues.apache.org/jira/browse/YARN-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810446#comment-13810446
]
Sandy Ryza commented on YARN-1381:
----------------------------------
Thanks for catching this [[email protected]]. LGTM. One of the lines has
gone substantially over 80 characters, but I can fix this at commit time.
> Same relaxLocality appears twice in exception message of
> AMRMClientImpl#checkLocalityRelaxationConflict()
> ----------------------------------------------------------------------------------------------------------
>
> Key: YARN-1381
> URL: https://issues.apache.org/jira/browse/YARN-1381
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Ted Yu
> Priority: Minor
> Attachments: yarn-1381.patch
>
>
> Here is related code:
> {code}
> throw new InvalidContainerRequestException("Cannot submit a "
> + "ContainerRequest asking for location " + location
> + " with locality relaxation " + relaxLocality + " when it
> has "
> + "already been requested with locality relaxation " +
> relaxLocality);
> {code}
> The last relaxLocality should be
> reqs.values().iterator().next().remoteRequest.getRelaxLocality()
--
This message was sent by Atlassian JIRA
(v6.1#6144)