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 834DAD9F9 for ; Thu, 13 Sep 2012 05:56:21 +0000 (UTC) Received: (qmail 73078 invoked by uid 500); 13 Sep 2012 05:56:16 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 72917 invoked by uid 500); 13 Sep 2012 05:56:16 -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 72905 invoked by uid 99); 13 Sep 2012 05:56:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 05:56:16 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of viji@cloudera.com designates 209.85.212.182 as permitted sender) Received: from [209.85.212.182] (HELO mail-wi0-f182.google.com) (209.85.212.182) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 05:56:11 +0000 Received: by wibhq12 with SMTP id hq12so2436268wib.11 for ; Wed, 12 Sep 2012 22:55:50 -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 :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=dscyP07MN29rciSFQ2BvYb46Mc9CVzHOJKS9kaohDeY=; b=k9X6PkiNRD220EF1yCN+SlsNevhO32aJy/tApltVZTdWrBvPL1XHvAMsUOcMaZmRW3 wE96zyiMoo+jcU7iqURa4J2NtlWhSSvG6FR7g/LJEww9iHIN/91bv4RiUj3jG8Lca8QE WaUGJpXMHxmd0KSR8vQZDPKQPFniJ+eiJlyxUlpNpDQfCb6mNP4hIof3qJ+bTt/96BPY ykbthY2iep3XSF1dSBWGvM8WHv+96mE22aEX1H47OiCpO5kFKg75UYiPne2MOJaKTTvH yM9xUMguu1FUvGiYJpCSSc0NSQ22lNehpYjnmS+5uGCasMlN7iIIlcBBeW1wGZhbR8KD gPpQ== Received: by 10.180.19.166 with SMTP id g6mr2243918wie.13.1347515749921; Wed, 12 Sep 2012 22:55:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.158.84 with HTTP; Wed, 12 Sep 2012 22:55:29 -0700 (PDT) In-Reply-To: References: From: Viji R Date: Thu, 13 Sep 2012 11:25:29 +0530 Message-ID: Subject: Re: rack topology data update To: user@hadoop.apache.org Cc: harsh Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnOh2i3Z4bcD/IW1IMoy2aMiiVdIp3brYeg5syuLrOHsgYFYlxyaLUsdLJ8a1RvR9TW4Z2z X-Virus-Checked: Checked by ClamAV on apache.org Hi Jameson, If the NameNode has cached the wrong value earlier, it will not refresh that until you restart it. On Thu, Sep 13, 2012 at 11:21 AM, Jameson Li wrote: > Hi harsh, > > I have followed your suggestion operation. > > 1, stop the new datanode.(I have modified the topology file in the nameno= de > before.) > 2, run 'hadoop dfsadmin -refreshNodes' on the namenode > 3, start the new datanode. > > But it really not update the new topology mapping. > It just show the start info in the namenode that: > " > 2012-09-13 13:44:14,706 INFO org.apache.hadoop.net.NetworkTopology: Remov= ing > a node: /default-rack/10.0.10.100:50010 > 2012-09-13 13:44:14,706 INFO org.apache.hadoop.net.NetworkTopology: Addin= g a > new node: /default-rack/10.0.10.100:50010 > " > > > =E4=B8=93=E6=B3=A8=E4=BA=8EMysql,MSSQL,Oracle,Hadoop > > > > 2012/9/13 Harsh J >> >> the DN only after (2) so it picks up the right mapping an > >