You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Sandy Ryza (JIRA)" <ji...@apache.org> on 2013/10/31 18:15:19 UTC
[jira] [Commented] (YARN-1381) Same relaxLocality appears twice in
exception message of AMRMClientImpl#checkLocalityRelaxationConflict()
[ 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 [~yuzhihong@gmail.com]. 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)