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 4B1E1DA8B for ; Thu, 30 Aug 2012 18:21:11 +0000 (UTC) Received: (qmail 38354 invoked by uid 500); 30 Aug 2012 18:21:10 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 38316 invoked by uid 500); 30 Aug 2012 18:21:10 -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 38277 invoked by uid 99); 30 Aug 2012 18:21:10 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 18:21:10 +0000 Date: Fri, 31 Aug 2012 05:21:10 +1100 (NCT) From: "Eli Collins (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <76865654.17556.1346350870782.JavaMail.jiratomcat@arcas> In-Reply-To: <887759690.848.1345651903274.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (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:all-tabpanel ] Eli Collins updated HDFS-3837: ------------------------------ Attachment: hdfs-3837.txt No problem, can always do cleanup in another change. Updated patch just does adds an exclude. Thanks for the reviews Suresh. > 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-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