Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-1381

Same relaxLocality appears twice in exception message of AMRMClientImpl#checkLocalityRelaxationConflict()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Here is related 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);
      

      The last relaxLocality should be reqs.values().iterator().next().remoteRequest.getRelaxLocality()

        Attachments

        1. yarn-1381.patch
          2 kB
          Ted Yu

          Activity

            People

            • Assignee:
              yuzhihong@gmail.com Ted Yu
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: