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

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

 [~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 getProcessList() possible NPE
> ----------------------------------------------
>
>                 Key: YARN-6512
>                 URL: https://issues.apache.org/jira/browse/YARN-6512
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>         Attachments: YARN-6512.01.patch
>
>
> Findbugs output:
> {code}
> 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]
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to