You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Masatake Iwasaki (Jira)" <ji...@apache.org> on 2020/08/11 02:28:00 UTC

[jira] [Resolved] (MAPREDUCE-7286) Fix findbugs warnings in hadoop-mapreduce-project on branch-2.10

     [ https://issues.apache.org/jira/browse/MAPREDUCE-7286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Masatake Iwasaki resolved MAPREDUCE-7286.
-----------------------------------------
    Fix Version/s: 2.10.1
       Resolution: Fixed

Cherry-picking MAPREDUCE-6881 fixed this.

> Fix findbugs warnings in hadoop-mapreduce-project on branch-2.10
> ----------------------------------------------------------------
>
>                 Key: MAPREDUCE-7286
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7286
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 2.10.0
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>             Fix For: 2.10.1
>
>
> {noformat}
> $ find . -name findbugsXml.xml | xargs -n 1 /opt/findbugs-3.0.1/bin/convertXmlToText -longBugCodes
> M D NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE NP: Possible null pointer dereference in org.apache.hadoop.examples.pi.Parser.parse(File, Map) due to return value of called method  Dereferenced at Parser.java:[line 70]
> H P DM_BOXED_PRIMITIVE_FOR_COMPARE Bx: Primitive is boxed to call Long.compareTo(Long): use Long.compare(long, long) instead  At JVMId.java:[line 101]
> M B ME_MUTABLE_ENUM_FIELD ME: org.apache.hadoop.mapred.Operation.jobACLNeeded field is public and mutable  In Operation.java
> M B ME_MUTABLE_ENUM_FIELD ME: org.apache.hadoop.mapred.Operation.qACLNeeded field is public and mutable  In Operation.java
> M D UC_USELESS_OBJECT UC: Useless object stored in variable paths of method org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager$HistoryFileInfo.moveToDone()  At HistoryFileManager.java:[line 416]
> M D NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE NP: Possible null pointer dereference in new org.apache.hadoop.mapred.LocalContainerLauncher(AppContext, TaskUmbilicalProtocol, ClassLoader) due to return value of called method  Dereferenced at LocalContainerLauncher.java:[line 124]
> M D NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE NP: Possible null pointer dereference in org.apache.hadoop.mapred.LocalContainerLauncher$EventHandler.relocalize() due to return value of called method  Dereferenced at LocalContainerLauncher.java:[line 524]
> M D NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE NP: Possible null pointer dereference in org.apache.hadoop.mapreduce.v2.app.MRAppMaster.isJobNamePatternMatch(JobConf, String) due to return value of called method  Dereferenced at MRAppMaster.java:[line 560]
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-dev-help@hadoop.apache.org