[ 
https://issues.apache.org/jira/browse/YARN-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810457#comment-13810457
 ] 

Ted Yu commented on YARN-1381:
------------------------------

I use the same Eclipse formatter for HBase where line can be 100 chars long :-) 

> 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)

Reply via email to