hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masatake Iwasaki (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MAPREDUCE-6236) Fix findbugs warnings in hadoop-mapreduce-client-core
Date Mon, 02 Feb 2015 21:36:34 GMT

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

Masatake Iwasaki resolved MAPREDUCE-6236.
-----------------------------------------
    Resolution: Duplicate

Yes. I closed this as duplicate. Thanks [~varun_saxena].

> Fix findbugs warnings in hadoop-mapreduce-client-core
> -----------------------------------------------------
>
>                 Key: MAPREDUCE-6236
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6236
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>
> {code}
> Dm	Found reliance on default encoding in org.apache.hadoop.mapreduce.security.SecureShuffleUtils.toHex(byte[]):
java.io.ByteArrayOutputStream.toString()
> Dm	Found reliance on default encoding in org.apache.hadoop.mapreduce.security.SecureShuffleUtils.toHex(byte[]):
new java.io.PrintStream(OutputStream)
> Bx	Boxing/unboxing to parse a primitive org.apache.hadoop.mapred.TaskLogAppender.setOptionsFromSystemProperties()
> Bx	org.apache.hadoop.mapreduce.lib.fieldsel.FieldSelectionHelper.extractFields(String[],
List) invokes inefficient new Integer(String) constructor; use Integer.valueOf(String) instead
> RCN	Redundant nullcheck of info, which is known to be non-null in org.apache.hadoop.mapred.IndexCache.removeMap(String)
> RCN	Redundant nullcheck of org.apache.hadoop.mapreduce.task.JobContextImpl.getWorkingDirectory(),
which is known to be non-null in org.apache.hadoop.mapreduce.JobSubmitter.addLog4jToDistributedCache(Job,
Path)
> RCN	Redundant nullcheck of org.apache.hadoop.mapreduce.task.JobContextImpl.getWorkingDirectory(),
which is known to be non-null in org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(Job,
Path)
> RCN	Redundant nullcheck of value, which is known to be non-null in org.apache.hadoop.mapreduce.util.ResourceBundles.getValue(String,
String, String, Object)
> UrF	Unread public/protected field: org.apache.hadoop.mapred.lib.CombineFileRecordReader.rrClass
> UrF	Unread public/protected field: org.apache.hadoop.mapreduce.lib.input.CombineFileRecordReader.rrClass
> UuF	Unused public or protected field: org.apache.hadoop.mapred.lib.CombineFileRecordReader.fs
> UuF	Unused public or protected field: org.apache.hadoop.mapreduce.lib.input.CombineFileRecordReader.fs
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message