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-6517) Fix warnings from Spotbugs in hadoop-yarn-common
Date Fri, 16 Jun 2017 12:07:00 GMT

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

Weiwei Yang commented on YARN-6517:
-----------------------------------

Hi [~Naganarasimha]

In the latest jenkins report, the findbugs warning is fixed, please see following message

bq. -1	findbugs	0m 53s	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common in trunk has 1 extant
Findbugs warnings.

this means before this patch, it has 1 findbugs warning

bq. +1	findbugs	0m 57s	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common generated 0 new
+ 0 unchanged - 1 fixed = 0 total (was 1)

this means after this patch is applied,  1 issues has been fixed so now there is 0 findbugs
warning. We just need to fix the checkstyle issue. Upload a new addendum patch for that.

Thank you.

> Fix warnings from Spotbugs in hadoop-yarn-common
> ------------------------------------------------
>
>                 Key: YARN-6517
>                 URL: https://issues.apache.org/jira/browse/YARN-6517
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>              Labels: findbugs
>             Fix For: 2.9.0, 3.0.0-alpha4
>
>         Attachments: YARN-6517.001.patch, YARN-6517.002.addendum.patch, YARN-6517.002.patch
>
>
> There are 2 findbugs warnings in hadoop-yarn-common project since switched to spotbugs,
> # Possible null pointer dereference in org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat$LogValue.getPendingLogFilesToUpload(File)
due to return value of called method
> # Possible null pointer dereference in org.apache.hadoop.yarn.util.ProcfsBasedProcessTree.getProcessList()
due to return value of called method
> see more in [https://builds.apache.org/job/PreCommit-HADOOP-Build/12157/artifact/patchprocess/branch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-common-warnings.html]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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