Yongjun Zhang created HDFS-7194:
-----------------------------------

             Summary: Two findbugs issues in recent PreCommit-HDFS-Build builds
                 Key: HDFS-7194
                 URL: https://issues.apache.org/jira/browse/HDFS-7194
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Yongjun Zhang
            Assignee: Yongjun Zhang
            Priority: Trivial


In recent PreCommit-HDFS-Build, 8325, 8324, 8323 etc, there are findbugs 
warnings introduced by earlier fixes.

E.g.
https://builds.apache.org/job/PreCommit-HDFS-Build/8324//artifact/patchprocess/newPatchFindbugsWarningshadoop-hdfs.html

{quote}
Bad practice Warnings

Code    Warning
Se      Class 
org.apache.hadoop.hdfs.protocol.datatransfer.ReplaceDatanodeOnFailure$Policy 
defines non-transient non-serializable instance field condition
Performance Warnings

Code    Warning
Dm      org.apache.hadoop.hdfs.DFSClient.<static initializer for DFSClient>() 
invokes inefficient new String(String) constructor
{quote}




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

Reply via email to