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

fix NPE in AMRMClientImpl.getMatchingRequests()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.9.0, 3.0.0-alpha2
    • yarn
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: