Ted Yu created YARN-1381:
----------------------------
Summary: 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
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)