You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Masatake Iwasaki (JIRA)" <ji...@apache.org> on 2015/01/31 01:10:34 UTC
[jira] [Created] (MAPREDUCE-6236) Fix findbugs warnings in
hadoop-mapreduce-client-core
Masatake Iwasaki created MAPREDUCE-6236:
-------------------------------------------
Summary: 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)