Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 9B89C10CC5 for ; Fri, 30 May 2014 11:48:06 +0000 (UTC) Received: (qmail 15506 invoked by uid 500); 30 May 2014 11:48:01 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 15388 invoked by uid 500); 30 May 2014 11:48:01 -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 15381 invoked by uid 99); 30 May 2014 11:48:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 May 2014 11:48:01 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of wuzesheng86@gmail.com designates 209.85.213.182 as permitted sender) Received: from [209.85.213.182] (HELO mail-ig0-f182.google.com) (209.85.213.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 May 2014 11:47:58 +0000 Received: by mail-ig0-f182.google.com with SMTP id uy17so687959igb.15 for ; Fri, 30 May 2014 04:47:34 -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 :content-type; bh=3OnsQ97oroIP5DALCVWOBBPkT0eCg5SvNB00TZSD72A=; b=V3uAO3RSFu9SWNdPK12SljT1nuduEVGWE3noVKGGN6VPI7UZKFNL/KXSwauE/8XBXF Z+1W0OcoaOZCxYwWx8KGbJrKVuTREYzMZFSVWhdUbgX0uIonR8xHH0/RrVHzF3jHbAqp Y1TCoEQUbpaH/W9Tou9ZuupwnZGu+RKg503BAaKZ/+WceVNsLKFUHc+8rTbyVndy6FCS sSU90RfgArawSFolMbnRTZ/NGd0/uOWMQFenVs1gtNnQD169LFvuNU3eh4qkTo+hE2Cw FfotYtGLd8LVCrWVuPJ4kIFKly9GCRyNhVClrbzEgtykcYtZlV8rIU2Uxe769aBYWCVG oajQ== X-Received: by 10.50.67.79 with SMTP id l15mr4932608igt.10.1401450454111; Fri, 30 May 2014 04:47:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.189.227 with HTTP; Fri, 30 May 2014 04:47:14 -0700 (PDT) In-Reply-To: References: From: Zesheng Wu Date: Fri, 30 May 2014 19:47:14 +0800 Message-ID: Subject: Re: issue about how to decommission a datanode from hadoop cluster To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7bd757107cdd6104fa9c9c8a X-Virus-Checked: Checked by ClamAV on apache.org --047d7bd757107cdd6104fa9c9c8a Content-Type: text/plain; charset=UTF-8 I think you just need to set an exclude file on NN, that's enough. 2014-05-30 14:09 GMT+08:00 ch huang : > hi,maillist: > I use CDH4.4 yarn&hdfs cluster ,i want to decommission a > datanode ,should i modify hdfs-site.xml and mapred-xml of all node in > cluster to exclude the node ,or i just need set hdfs-site.xml and > mapred-xml on NN ? > -- Best Wishes! Yours, Zesheng --047d7bd757107cdd6104fa9c9c8a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think you just need to set an exclude file on NN, that&#= 39;s enough.


2014-05-30 14:09 GMT+08:00 ch huang <justlooks@gmail.com>:
hi,maillist:
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 I use CDH4.4 yarn&hdfs cluster=C2=A0 ,i want to d= ecommission a datanode ,should i modify hdfs-site.xml and mapred-xml of=C2= =A0all node in cluster to exclude the node ,or i just need set hdfs-site.xm= l and mapred-xml on NN ?



--
Best Wishes!=

Yours, Zesheng
--047d7bd757107cdd6104fa9c9c8a--