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

Fix for FindBugs getProcessList() possible NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Findbugs output:

      Possible null pointer dereference in org.apache.hadoop.yarn.util.ProcfsBasedProcessTree.getProcessList() due to return value of called method
      Bug type NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE
      In class org.apache.hadoop.yarn.util.ProcfsBasedProcessTree
      In method org.apache.hadoop.yarn.util.ProcfsBasedProcessTree.getProcessList()
      Value loaded from processDirs
      Dereferenced at ProcfsBasedProcessTree.java:[line 487]
      Known null at ProcfsBasedProcessTree.java:[line 484]
      

        Attachments

        1. YARN-6512.01.patch
          0.9 kB
          wilfreds#1

          Issue Links

            Activity

              People

              • Assignee:
                wilfreds Wilfred Spiegelenburg
                Reporter:
                wilfreds Wilfred Spiegelenburg
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: