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

Fix warnings from Spotbugs in hadoop-yarn-common

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha4
    • None
    • Reviewed

    Description

      There are 2 findbugs warnings in hadoop-yarn-common project since switched to spotbugs,

      1. Possible null pointer dereference in org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat$LogValue.getPendingLogFilesToUpload(File) due to return value of called method
      2. Possible null pointer dereference in org.apache.hadoop.yarn.util.ProcfsBasedProcessTree.getProcessList() due to return value of called method

      see more in https://builds.apache.org/job/PreCommit-HADOOP-Build/12157/artifact/patchprocess/branch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-common-warnings.html

      Attachments

        1. YARN-6517.002.patch
          3 kB
          Weiwei Yang
        2. YARN-6517.002.addendum.patch
          1 kB
          Naganarasimha G R
        3. YARN-6517.002.addendum.patch
          1 kB
          Weiwei Yang
        4. YARN-6517.001.patch
          5 kB
          Weiwei Yang

        Issue Links

          Activity

            People

              cheersyang Weiwei Yang
              cheersyang Weiwei Yang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: