You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2012/08/22 15:41:42 UTC

[jira] [Created] (HDFS-3836) Fix findbugs warnings in Datanode

Suresh Srinivas created HDFS-3836:
-------------------------------------

             Summary: Fix findbugs warnings in Datanode
                 Key: HDFS-3836
                 URL: https://issues.apache.org/jira/browse/HDFS-3836
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 3.0.0
            Reporter: Suresh Srinivas
            Assignee: Jing Zhao


See the warning https://builds.apache.org/job/PreCommit-HDFS-Build/3063//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-hdfs.html


Code	Warning
EC	Call to equals() comparing different types in org.apache.hadoop.hdfs.server.datanode.DataNode.recoverBlock(BlockRecoveryCommand$RecoveringBlock)

Bug type EC_UNRELATED_TYPES (click for details) 
In class org.apache.hadoop.hdfs.server.datanode.DataNode
In method org.apache.hadoop.hdfs.server.datanode.DataNode.recoverBlock(BlockRecoveryCommand$RecoveringBlock)
Actual type org.apache.hadoop.hdfs.protocol.DatanodeInfo
Expected org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
Value loaded from id
Value loaded from bpReg
org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration.equals(Object) used to determine equality
At DataNode.java:[line 1869]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HDFS-3836) Fix findbugs warnings in Datanode

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-3836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas resolved HDFS-3836.
-----------------------------------

    Resolution: Duplicate

Duplicate of HDFS-3837.
                
> Fix findbugs warnings in Datanode
> ---------------------------------
>
>                 Key: HDFS-3836
>                 URL: https://issues.apache.org/jira/browse/HDFS-3836
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Suresh Srinivas
>            Assignee: Jing Zhao
>
> See the warning https://builds.apache.org/job/PreCommit-HDFS-Build/3063//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-hdfs.html
> Code	Warning
> EC	Call to equals() comparing different types in org.apache.hadoop.hdfs.server.datanode.DataNode.recoverBlock(BlockRecoveryCommand$RecoveringBlock)
> Bug type EC_UNRELATED_TYPES (click for details) 
> In class org.apache.hadoop.hdfs.server.datanode.DataNode
> In method org.apache.hadoop.hdfs.server.datanode.DataNode.recoverBlock(BlockRecoveryCommand$RecoveringBlock)
> Actual type org.apache.hadoop.hdfs.protocol.DatanodeInfo
> Expected org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
> Value loaded from id
> Value loaded from bpReg
> org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration.equals(Object) used to determine equality
> At DataNode.java:[line 1869]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira