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

Fix for FindBugs getPendingLogFilesToUpload() 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

      Possible null pointer dereference in org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat$LogValue.getPendingLogFilesToUpload(File) due to return value of called method
      Bug type NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE (click for details) 
      In class org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat$LogValue
      In method org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat$LogValue.getPendingLogFilesToUpload(File)
      Local variable stored in JVM register ?
      Method invoked at AggregatedLogFormat.java:[line 314]
      Known null at AggregatedLogFormat.java:[line 314]
      

        Attachments

        1. YARN-6513.01.patch
          1 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: