Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A8136D001 for ; Fri, 14 Sep 2012 03:29:30 +0000 (UTC) Received: (qmail 58952 invoked by uid 500); 14 Sep 2012 03:29:26 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 58729 invoked by uid 500); 14 Sep 2012 03:29:25 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 58708 invoked by uid 99); 14 Sep 2012 03:29:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2012 03:29:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hovlj.ei@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2012 03:29:18 +0000 Received: by obbtb18 with SMTP id tb18so7377679obb.35 for ; Thu, 13 Sep 2012 20:28:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=G/iPXhI7JeA9YLmekjtlKehHLdNSewAOLJdRPffXHdk=; b=WcBq88rhEYSQ04EDyK32IJvb8543cJiczPOfD9XPJ1tjmnnXVpAxHKSOp2tIRDlZgs um9G2u5Li+zoQCjFjXsBzvNFPxaLS4hplxy+hdGveOAJy27kCLjHu1qlqRjqDR5DruxA CNvokwe4zvRDSqXJZy9lJ8wMuqIg+YBD6ILAv2YbNX4zsc8pUG+GYumpcIIMXdWQmB/v 7dPuSiy7deQy57cmX/43P5trmXKjHqJVIJvSJLJmOk76aYHY2pwh/xOK4Ln9z47l8uj4 hKXL+z5Eh0apDHvZWOm2xYl0uyZc0Be5k6nICFCYNEZi7VFWrryYFHmLKjuqXiaKBWMe xRtg== Received: by 10.60.8.39 with SMTP id o7mr1178971oea.122.1347593337487; Thu, 13 Sep 2012 20:28:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.141.167 with HTTP; Thu, 13 Sep 2012 20:28:26 -0700 (PDT) In-Reply-To: References: From: Jameson Li Date: Fri, 14 Sep 2012 11:28:26 +0800 Message-ID: Subject: Re: rack topology data update To: user@hadoop.apache.org Cc: harsh Content-Type: multipart/alternative; boundary=e89a8ff1c7e02ec02a04c9a1061c --e89a8ff1c7e02ec02a04c9a1061c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Harsh J, If a new datanode has joined the cluster, and has a default rack info cached in the namenode, it will no way to change its cache other than restart the namenode. Am I right? =E4=B8=93=E6=B3=A8=E4=BA=8EMysql,MSSQL,Oracle,Hadoop 2012/9/13 Harsh J > Hey Steve, > > True about the decisions part, that still needs the ugly fixing of > re-replication. > > I think I saw it on a JIRA by Patrick A. that was trying to change the > way we did this. But placement is also pluggable in 2.x right? Let me > find that JIRA (but yeah, am unsure if it was committed). > > On Thu, Sep 13, 2012 at 2:40 PM, Steve Loughran > wrote: > > > > > > On 13 September 2012 09:03, Harsh J wrote: > >> > >> > >> This should be fixed in one of the 2.x releases, where we also refresh > >> the cached values. > >> > > > > Really? Which JIRA? > > > > I've been making changes to the topology logic so you can do some > preflight > > checking and dump the topologies, but didn't think a clear and reload > was in > > there. Some decisions on block placement strategy (flat vs hierarchical= ) > are > > made early on, so going from flat to multi-switch is not something I'd > > recommend. > > > > -- > Harsh J > --e89a8ff1c7e02ec02a04c9a1061c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Harsh J,

If a = new datanode has joined the cluster, and has a default rack info cached in = the namenode, it will no way to change its cache other than restart the nam= enode.
Am I right?

=E4=B8=93=E6=B3=A8=E4=BA=8EMysql,MSSQL,O= racle,Hadoop


2012/9/13 Harsh J <= harsh@cloudera.com<= /a>>
Hey Steve,

True about the decisions part, that still needs the ugly fixing of
re-replication.

I think I saw it on a JIRA by Patrick A. that was trying to change the
way we did this. But placement is also pluggable in 2.x right? Let me
find that JIRA (but yeah, am unsure if it was committed).

On Thu, Sep 13, 2012 at 2:40 PM, Steve Loughran <
stevel@hortonworks.com> wrote:
>
>
> On 13 September 2012 09:03, Harsh J <harsh@cloudera.com> wrote:
>>
>>
>> This should be fixed in one of the 2.x releases, where we also ref= resh
>> the cached values.
>>
>
> Really? Which JIRA?
>
> I've been making changes to the topology logic so you can do some = preflight
> checking and dump the topologies, but didn't think a clear and rel= oad was in
> there. Some decisions on block placement strategy (flat vs hierarchica= l) are
> made early on, so going from flat to multi-switch is not something I&#= 39;d
> recommend.



--
Harsh J

--e89a8ff1c7e02ec02a04c9a1061c--