Masatake Iwasaki created MAPREDUCE-7286:
-------------------------------------------

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


{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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to