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

fix NPE in AMRMClientImpl.getMatchingRequests()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.9.0, 3.0.0-alpha2
    • Component/s: yarn
    • Labels:
      None

      Description

       RemoteRequestsTable remoteRequestsTable = getTable(0);
       List<ResourceRequestInfo<T>> matchingRequests =
              remoteRequestsTable.getMatchingRequests(priority, resourceName, executionType, capability);
      

      remoteRequestsTable can be null, causing NPE.

        Attachments

        1. yarn5753.001.patch
          2 kB
          Haibo Chen
        2. yarn5753.002.patch
          3 kB
          Haibo Chen

          Issue Links

            Activity

              People

              • Assignee:
                haibochen Haibo Chen
                Reporter:
                haibochen Haibo Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: