Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 38E58D9F9 for ; Tue, 28 Aug 2012 17:16:11 +0000 (UTC) Received: (qmail 8579 invoked by uid 500); 28 Aug 2012 17:16:09 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 8545 invoked by uid 500); 28 Aug 2012 17:16:09 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 8499 invoked by uid 99); 28 Aug 2012 17:16:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2012 17:16:09 +0000 Date: Wed, 29 Aug 2012 04:16:09 +1100 (NCT) From: "Suresh Srinivas (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <850376270.7183.1346174169071.JavaMail.jiratomcat@arcas> In-Reply-To: <887759690.848.1345651903274.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HDFS-3837) Fix DataNode.recoverBlock findbugs warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-3837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443286#comment-13443286 ] Suresh Srinivas commented on HDFS-3837: --------------------------------------- If this is a findbugs issue, why not just add this to findbugs exclude? > Fix DataNode.recoverBlock findbugs warning > ------------------------------------------ > > Key: HDFS-3837 > URL: https://issues.apache.org/jira/browse/HDFS-3837 > Project: Hadoop HDFS > Issue Type: Bug > Components: data-node > Affects Versions: 2.0.0-alpha > Reporter: Eli Collins > Assignee: Eli Collins > Attachments: hdfs-3837.txt, hdfs-3837.txt, hdfs-3837.txt > > > HDFS-2686 introduced the following findbugs warning: > {noformat} > Call to equals() comparing different types in org.apache.hadoop.hdfs.server.datanode.DataNode.recoverBlock(BlockRecoveryCommand$RecoveringBlock) > {noformat} > Both are using DatanodeID#equals but it's a different method because DNR#equals overrides equals for some reason (doesn't change behavior). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira