hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6512) Fix for FindBugs getProcessList() possible NPE
Date Mon, 24 Apr 2017 01:49:04 GMT

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

Weiwei Yang commented on YARN-6512:
-----------------------------------

Hi [~wilfreds] and [~Naganarasimha]

Note there is an umbrella jira HADOOP-14336 to fix all findbugs warnings since switched to
spotbugs, there is a jira to fix all warnings for YARN HADOOP-14338, this one seems a duplicate...
does that make sense to track all fixes under the umbrella?

> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message