hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-3836) Fix findbugs warnings in Datanode
Date Wed, 22 Aug 2012 16:19:42 GMT

     [ 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

        

Mime
View raw message