Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 B71D5DF1B for ; Tue, 9 Oct 2012 19:31:58 +0000 (UTC) Received: (qmail 8669 invoked by uid 500); 9 Oct 2012 19:31:53 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 8580 invoked by uid 500); 9 Oct 2012 19:31:53 -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 8573 invoked by uid 99); 9 Oct 2012 19:31:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 19:31:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.216.41] (HELO mail-qa0-f41.google.com) (209.85.216.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 19:31:46 +0000 Received: by mail-qa0-f41.google.com with SMTP id p27so4281212qat.14 for ; Tue, 09 Oct 2012 12:31:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=8TfRV+Tw8U6EUcoDXYdqJLTLyTut7iQsqfFHPnq6lc4=; b=G1HJ7aITMaG95AgWWkkwL4rX/u5lSO751o3FLvH2UgUaHsSOvpNnVfAKGInkov2hp9 vAgWkF4KPCKkuzUROiLKcFDUR/dB6AUW5speGj59NwcmvgPMboBSZA8oTcTT7VRfatL3 OFRGZb70zFhUqebw4wjpfz2Suq+Jyl7TT6EpY32LB7FHF8EgplurkcIxCZgNoE7cytdS NuDT3PE7od6kezPKdX6qsGg7AZ8zPXCLoqbAcN4oPvd248M6hTavhA87GxvixjY9HNLV Q1zTC8o1xodCkWQloMBJJFPj/iuFFprAWnmfe97iA8RPwpK+GjYCjnRObJljEB6gG8Nc 3G7Q== Received: by 10.229.137.12 with SMTP id u12mr839798qct.28.1349811085598; Tue, 09 Oct 2012 12:31:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.129.226 with HTTP; Tue, 9 Oct 2012 12:31:05 -0700 (PDT) In-Reply-To: References: From: Ted Dunning Date: Tue, 9 Oct 2012 12:31:05 -0700 Message-ID: Subject: Re: How to change topology To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=0023545303b04560f504cba562ce X-Gm-Message-State: ALoCoQlKUSoxPijx+HtnxVAI+EXliH957ys0PUYZ7q3nusdg+6ACaHBvrXLp1x2d6MG6ix7A+3dx --0023545303b04560f504cba562ce Content-Type: text/plain; charset=ISO-8859-1 On Tue, Oct 9, 2012 at 12:17 PM, Steve Loughran wrote: > > > On 9 October 2012 16:51, Shinichi Yamashita wrote: > >> Hi Steve, >> >> Thank you for your reply. >> >> >> > no, it's the Namenode and JobTracker that needs to be restarted; >> > they are the bits that care where the boxes are. >> >> I confirmed it in my cluster, and I understood it as follows. >> First, the resolved node information is recorded in ConcurrentHashMap. >> Next same node toplogy decision, HashMap data is given priority to over a >> script. >> The HashMap data become invalid by restart of NameNode and JobTracker. >> > > That's right. There's been lots of discussion on adding live topology > resetting. > For what it's worth, there is at least one Hadoop derived distribution which has live topology resetting already. I can follow up offline with anyone who wants more information. --0023545303b04560f504cba562ce Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Oct 9, 2012 at 12:17 PM, Steve L= oughran <stevel@hortonworks.com> wrote:


On 9 October 2012 16:51, Shinichi Yamash= ita <shin1.ym@gmail.com> wrote:
Hi Steve,

Thank you for your reply.


> no, it's th= e Namenode and JobTracker that needs to be restarted;
> they are the= bits that care where the boxes are.

I confirmed it in my clus= ter, and I understood it as follows.
First, the resolved node information is recorded in ConcurrentHashMap.
N= ext same node toplogy decision, HashMap data is given priority to over a sc= ript.
The HashMap data become invalid by restart of NameNode and JobTrac= ker.

That's right. There's been lots of= discussion on adding live topology resetting.=A0
<= div>
For what it's worth, there is at least one Hadoop de= rived distribution which has live topology resetting already.

I can follow up offline with anyone who wants more info= rmation.

--0023545303b04560f504cba562ce--