hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9401) Fix the findbug in o.a.h.h.server.datanode.BlockRecoveryWorker$RecoveryTaskContiguous.recover()
Date Sun, 08 Nov 2015 13:40:10 GMT
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)

Mime
View raw message