You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Brahma Reddy Battula (JIRA)" <ji...@apache.org> on 2015/11/08 14:40:10 UTC

[jira] [Created] (HDFS-9401) Fix the findbug in o.a.h.h.server.datanode.BlockRecoveryWorker$RecoveryTaskContiguous.recover()

Brahma Reddy Battula created HDFS-9401:
------------------------------------------

             Summary: Fix the findbug in o.a.h.h.server.datanode.BlockRecoveryWorker$RecoveryTaskContiguous.recover()
                 Key: HDFS-9401
                 URL: https://issues.apache.org/jira/browse/HDFS-9401
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Brahma Reddy Battula


Noticed following findbug in HDFS-9400 

{noformat}
Call to org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration.equals(org.apache.hadoop.hdfs.protocol.DatanodeInfo) in org.apache.hadoop.hdfs.server.datanode.BlockRecoveryWorker$RecoveryTaskContiguous.recover()
Bug type EC_UNRELATED_TYPES (click for details) 
In class org.apache.hadoop.hdfs.server.datanode.BlockRecoveryWorker$RecoveryTaskContiguous
In method org.apache.hadoop.hdfs.server.datanode.BlockRecoveryWorker$RecoveryTaskContiguous.recover()
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 BlockRecoveryWorker.java:[line 116]
{noformat}

https://builds.apache.org/job/PreCommit-HDFS-Build/13433/artifact/patchprocess/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html



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