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 A57C61061E for ; Fri, 5 Jul 2013 03:46:06 +0000 (UTC) Received: (qmail 16649 invoked by uid 500); 5 Jul 2013 03:45:54 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 15946 invoked by uid 500); 5 Jul 2013 03:45:52 -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 15924 invoked by uid 99); 5 Jul 2013 03:45:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jul 2013 03:45:50 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of azuryyyu@gmail.com designates 209.85.223.181 as permitted sender) Received: from [209.85.223.181] (HELO mail-ie0-f181.google.com) (209.85.223.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jul 2013 03:45:28 +0000 Received: by mail-ie0-f181.google.com with SMTP id x12so4470217ief.12 for ; Thu, 04 Jul 2013 20:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XDVMwgbqtY47uwGzG2qXgSaYYLYyFPkwewz99AwGvBM=; b=WBacelyD1vaYNlEPLJTR2vltwjRkp0pU89/VhZrchHQ1atKGhTirASGOC+andYoUGf 9NVhuSg1G5H1uBfJdcBGK2hvwUyqJHZCteAj/en43bGKYYWWB+3E0wX5WvWmio0C13og rWbofYzL+8eEQZT+fzTTJWLqcBNgTNjEes2VWehS5CkIdjv3hvRXL6nSCDOV0cGq03WX IXA5zBmw7K0vi0ttRIrbngDMKohurE41rdZB4VrPtG43kpzhj3z+aTF/uqyK3EUcijAh yClceBWNGBhQ7OejzFOSJsvP5gNh2X6LPeiabFrvangnkMuzYNpAmTitBo7curcdaSjm kjgw== MIME-Version: 1.0 X-Received: by 10.43.157.200 with SMTP id lr8mr3240689icc.104.1372995908249; Thu, 04 Jul 2013 20:45:08 -0700 (PDT) Received: by 10.64.229.36 with HTTP; Thu, 4 Jul 2013 20:45:08 -0700 (PDT) In-Reply-To: <06006DDA5A27D541991944AC4117E7A96E1CF661@szxeml560-mbx.china.huawei.com> References: <06006DDA5A27D541991944AC4117E7A96E1CF5DF@szxeml560-mbx.china.huawei.com> <06006DDA5A27D541991944AC4117E7A96E1CF661@szxeml560-mbx.china.huawei.com> Date: Fri, 5 Jul 2013 11:45:08 +0800 Message-ID: Subject: Re: Decomssion datanode - no response From: Azuryy Yu To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11c2154863af4504e0bb853e X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2154863af4504e0bb853e Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I added dfs.hosts.exclude before NN started. and I updated /usr/local/hadoop/conf/dfs_exclude whith new hosts, but It doesn't decomssion. On Fri, Jul 5, 2013 at 11:39 AM, Devaraj k wrote: > When did you add this configuration in NN conf? **** > > > dfs.hosts.exclude > /usr/local/hadoop/conf/dfs_exclude > **** > > ** ** > > If you have added this configuration after starting NN, it won=92t take > effect and need to restart NN.**** > > ** ** > > If you have added this config with the exclude file before NN start, you > can update the file with new hosts and refreshNodes command can be issued= , > then newly updated the DN=92s will be decommissioned.**** > > ** ** > > Thanks**** > > Devaraj k**** > > ** ** > > *From:* Azuryy Yu [mailto:azuryyyu@gmail.com] > *Sent:* 05 July 2013 08:48 > *To:* user@hadoop.apache.org > *Subject:* Re: Decomssion datanode - no response**** > > ** ** > > Thanks Devaraj,**** > > **** > > There are no any releated logs in the NN log and DN log.**** > > ** ** > > On Fri, Jul 5, 2013 at 11:14 AM, Devaraj k wrote:*= * > ** > > Do you see any log related to this in Name Node logs when you issue > refreshNodes dfsadmin command?**** > > **** > > Thanks**** > > Devaraj k**** > > **** > > *From:* Azuryy Yu [mailto:azuryyyu@gmail.com] > *Sent:* 05 July 2013 08:12 > *To:* user@hadoop.apache.org > *Subject:* Decomssion datanode - no response**** > > **** > > Hi,**** > > I am using hadoop-2.0.5-alpha, and I added 5 datanodes into dfs_exclude, = * > *** > > **** > > hdfs-site.xml:**** > > > dfs.hosts.exclude > /usr/local/hadoop/conf/dfs_exclude > **** > > **** > > then:**** > > hdfs dfsadmin -refreshNodes**** > > **** > > but there is no decomssion nodes showed on the webUI. and not any releate= d > logs in the datanode log. what's wrong?**** > > ** ** > --001a11c2154863af4504e0bb853e Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
I added dfs.hosts.exclude before NN started.
=A0
and I updated /usr/local/hadoop/conf/dfs_exclude whith new = hosts, but It doesn't decomssion.


On Fri, Jul 5, 2013 at 11:39 AM, Devaraj k <= span dir=3D"ltr"><devaraj.k@huawei.com> wrote:

When did you add thi= s configuration in NN conf?

=A0 <property>
=A0=A0=A0 <name>dfs.hosts.exclude</name>
=A0=A0=A0 <value>/usr/local/hadoop/conf/dfs_exclude</value>
=A0 </property>

=A0

If you have ad= ded this configuration after starting NN, it won=92t take effect and need t= o restart NN.

=A0

If you have added th= is config with the exclude file before NN start, you can update the file wi= th new hosts and refreshNodes command can be issued, then newly updated the DN=92s will be decommissioned.

=A0

Thanks=

Devaraj k<= /u>

=A0

From: Azuryy Yu [m= ailto:azuryyyu@gmai= l.com]
Sent: 05 July 2013 08:48
To: user= @hadoop.apache.org
Subject: Re: Decomssion datanode - no response
<= /p>

=A0

Thanks Devaraj,

=A0

There=A0are no any releated logs in the NN log and D= N log.

=A0

On Fri, Jul 5, 2013 at 11:14 AM, Devaraj k <devaraj.k@huawei.com> wrote:

Do you see any log r= elated to this in Name Node logs when you issue refreshNodes dfsadmin comma= nd?

=A0=

Thanks=

Devaraj k<= /u>

=A0=

From: Azuryy Yu [m= ailto:azuryyyu@gmai= l.com]
Sent: 05 July 2013 08:12
To: user= @hadoop.apache.org
Subject: Decomssion datanode - no response

=A0

Hi,

I am using hadoop-2.0.5-alpha, and I added 5 datanod= es into dfs_exclude,

=A0

hdfs-site.xml:

=A0 <property>
=A0=A0=A0 <name>dfs.hosts.exclude</name>
=A0=A0=A0 <value>/usr/local/hadoop/conf/dfs_exclude</value>
=A0 </property>

=A0

then:

hdfs dfsadmin -refreshNodes

=A0

but there is no decomssion nodes showed on the webUI= . and not any releated logs in the datanode log. what's wrong?

=A0


--001a11c2154863af4504e0bb853e--