[ https://issues.apache.org/jira/browse/HDFS-9401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Walter Su updated HDFS-9401: ---------------------------- Resolution: Fixed Fix Version/s: 2.8.0 Target Version/s: 2.8.0 Status: Resolved (was: Patch Available) committed to trunk and branch-2. > 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 > Assignee: Brahma Reddy Battula > Fix For: 2.8.0 > > Attachments: HDFS-9401-002.patch, HDFS-9401.patch > > > 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)