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

Fix for FindBugs getPendingLogFilesToUpload() possible NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: