Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2028F909E for ; Wed, 22 Feb 2012 20:38:14 +0000 (UTC) Received: (qmail 56567 invoked by uid 500); 22 Feb 2012 20:38:10 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 56476 invoked by uid 500); 22 Feb 2012 20:38:10 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 56425 invoked by uid 99); 22 Feb 2012 20:38:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 20:38:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 20:38:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 81D40335F9E for ; Wed, 22 Feb 2012 20:37:49 +0000 (UTC) Date: Wed, 22 Feb 2012 20:37:49 +0000 (UTC) From: "Todd Lipcon (Resolved) (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <1495897789.6142.1329943069533.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <552884339.52798.1329525119872.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HDFS-2972) HA: small optimization building incremental block report 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-2972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon resolved HDFS-2972. ------------------------------- Resolution: Fixed Fix Version/s: HA branch (HDFS-1623) Hadoop Flags: Reviewed Committed to branch. I also tested this on a 100-node cluster. > HA: small optimization building incremental block report > -------------------------------------------------------- > > Key: HDFS-2972 > URL: https://issues.apache.org/jira/browse/HDFS-2972 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: data-node, ha > Affects Versions: HA branch (HDFS-1623) > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Priority: Minor > Fix For: HA branch (HDFS-1623) > > Attachments: hdfs-2972.txt > > > Current the incremental block report is a List. However, we only really need to send the most recent information for each block. So, if a block becomes RBW and is then becomes FINALIZED before the next incremental block report, we should just report the FINALIZED replica. It's an easy change to just switch to a map by blockid. > This is on the HA branch since HA changes the code to send RBWs in the incremental reports, hence it's more important for maintaining performance parity with trunk. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira