[ 
https://issues.apache.org/jira/browse/YARN-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15982205#comment-15982205
 ] 

Naganarasimha G R commented on YARN-6513:
-----------------------------------------

[~haibochen] & [~wilfreds], 
[~cheersyang] was already working on findbugs for yarn under umbrella jira  
HADOOP-14336 , just yesterday we concluded that he split yarn jira into project 
specific jira's and hence he created YARN-6517 - YARN-6520 and split his 
existing patch and uploaded. So as WeiWei yang had started first i thought of 
making this jira duplicate of YARN-6517. thoughts?


> Fix for FindBugs getPendingLogFilesToUpload() possible NPE
> ----------------------------------------------------------
>
>                 Key: YARN-6513
>                 URL: https://issues.apache.org/jira/browse/YARN-6513
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>         Attachments: YARN-6513.01.patch
>
>
> {code}
> 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]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to