Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Noticed following findbug in HDFS-9400
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]