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 470262368 for ; Wed, 27 Apr 2011 14:03:54 +0000 (UTC) Received: (qmail 65459 invoked by uid 500); 27 Apr 2011 14:03:54 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 65313 invoked by uid 500); 27 Apr 2011 14:03:53 -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 65297 invoked by uid 99); 27 Apr 2011 14:03:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 14:03:53 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.145.54.172] (HELO mrout2.yahoo.com) (216.145.54.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 14:03:46 +0000 Received: from oceanfarearth-lm.corp.yahoo.com (oceanfarearth-lm.corp.yahoo.com [10.72.113.156]) by mrout2.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id p3RE3507082990; Wed, 27 Apr 2011 07:03:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=yahoo-inc.com; s=cobra; t=1303912985; bh=AgtffME77IffBaihRjJfDEOjAnne8dWldwYzc1dBegc=; h=Cc:Message-Id:From:To:In-Reply-To:Content-Type: Content-Transfer-Encoding:Mime-Version:Subject:Date:References; b=xdpXdfuFw8FHNpNu1S+jpeBckKk1L3qKaKkHuGDMlb6tKRZSgAR6uEYib5c5+ZLgI 2iX3kcJ5ZBLDZQ5wb52uWgZVUzAKTUo8QZZlfKhTBwdBRnRgeXrX5FKQQGZMYXU8Xl hb7ep85Yabq/nRqD8SAJmDlFpM4r7Cajg4LCABLE= Cc: Doug Cutting , "hdfs-dev@hadoop.apache.org" Message-Id: <800CC52A-7EDD-4E48-A878-0AEDB5293609@yahoo-inc.com> From: Sanjay Radia To: Konstantin Boudnik In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [Discuss] Merge federation branch HDFS-1052 into trunk Date: Wed, 27 Apr 2011 07:03:05 -0700 References: <4DB5E962.2000206@apache.org> <39D2BF2A-D3B9-4A21-AF6F-DCBCA04EFEFF@yahoo-inc.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org On Apr 26, 2011, at 10:40 PM, Konstantin Boudnik wrote: > Oops, the message came out garbled. I meant to say > > I assume the outlined changes won't prevent an earlier version of > HDFS from > upgrades to the federation version, right? Yes absolutely. We have tested upgrades . Besides our ops will throw us out of the window if we even hint that there isn't an automatic upgrade for the next release :-) sanjay > > Thanks in advance, > Cos > > On Tue, Apr 26, 2011 at 17:59, Konstantin Boudnik > wrote: >> Sanjay, >> >> I assume the outlined changes won't an earlier version of HDFS from >> upgrads to the federation version, right? >> >> Cos >> >> On Tue, Apr 26, 2011 at 17:26, Sanjay Radia >> wrote: >>> >>> Changes to the code base >>> - The fundamental code change is to extend the notion of block id >>> to now >>> include a block pool id. >>> - The NN had little change, the protocols did change to include >>> the block >>> pool id. >>> - The DN code did change. Each data structure is now indexed by >>> the block >>> pool id -- while this is a code change, it is architecturally very >>> simple >>> and low risk. >>> - We also did a fair amount of cleanup of threads used to send >>> block reports >>> - while it was not strictly necessary to do the cleanup we took >>> the extra >>> effort to pay the technical debt. As Dhruba recently noted, adding >>> support >>> to send block reports to primary and secondary NN for HA will be >>> now much >>> easier to do. >>