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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: