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 0277C2DB2 for ; Wed, 27 Apr 2011 04:27:57 +0000 (UTC) Received: (qmail 61699 invoked by uid 500); 27 Apr 2011 04:27:56 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 61448 invoked by uid 500); 27 Apr 2011 04:27:56 -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 61439 invoked by uid 99); 27 Apr 2011 04:27:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 04:27:56 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dhruba@gmail.com designates 209.85.161.48 as permitted sender) Received: from [209.85.161.48] (HELO mail-fx0-f48.google.com) (209.85.161.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 04:27:51 +0000 Received: by fxm7 with SMTP id 7so1584683fxm.35 for ; Tue, 26 Apr 2011 21:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cqe5Q11sdsJBZAnCxemHyGQUiiLEse12hs4E1+pk59U=; b=bVpWRUTl0hnNoV2uMCVprVFfisv5DdQ1vlkiKbwSnzzooUZzHW0PSpeVhoBp/gBqWF vDDpcv5dTVDYzAG+3sH55G/e9Aj2PDtzoFlnIpoGzfpjNzvaW49PA7UNRrRA9XBkAtfg NzEAlSYMIB4S63zkA0RjGH5stkGtuWb3h4wIk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=TCottwWrXBRf71mZ/owLSHt+PITX0fKj4LPBitsfZAqfeCta3Pubo1QE1HJUK05chj 8Ofak9Em/18Eiz1ycfUkiXibvOOnmRBHsdSQt0nzuEem0DuNDUd1wtbnMZg5K9Y6qXt1 jrGPwRBsdYc/EO7wETbGtNBa66qOtWziTTH3c= MIME-Version: 1.0 Received: by 10.223.25.201 with SMTP id a9mr1703739fac.141.1303878450449; Tue, 26 Apr 2011 21:27:30 -0700 (PDT) Received: by 10.223.124.146 with HTTP; Tue, 26 Apr 2011 21:27:30 -0700 (PDT) In-Reply-To: References: <4DB5E962.2000206@apache.org> <39D2BF2A-D3B9-4A21-AF6F-DCBCA04EFEFF@yahoo-inc.com> Date: Tue, 26 Apr 2011 21:27:30 -0700 Message-ID: Subject: Re: [Discuss] Merge federation branch HDFS-1052 into trunk From: Dhruba Borthakur To: hdfs-dev@hadoop.apache.org Cc: sradia@yahoo-inc.com, Doug Cutting Content-Type: multipart/alternative; boundary=00151747658cde8eb604a1dedb4c --00151747658cde8eb604a1dedb4c Content-Type: text/plain; charset=ISO-8859-1 I feel that making the datanode talk to multiple namenodes is very valuable, especially when there is plenty of storage available on a single datanode machine (think 24 TB to 36 TB) and a single namenode does not have enough memory to hold all file metadata for such a large cluster in memory. This is a feature that we are in dire need of, and could put it to good use starting "yesterday"! thanks, dhruba On Tue, Apr 26, 2011 at 5:59 PM, 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. > -- Connect to me at http://www.facebook.com/dhruba --00151747658cde8eb604a1dedb4c--