[ https://issues.apache.org/jira/browse/HDFS-9401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998107#comment-14998107 ]
Brahma Reddy Battula commented on HDFS-9401: -------------------------------------------- [~walter.k.su] thanks for committing and reviewing this issue. > Fix findbugs warnings in BlockRecoveryWorker > -------------------------------------------- > > 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)