Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1242106B7 for ; Thu, 7 Nov 2013 04:19:01 +0000 (UTC) Received: (qmail 46137 invoked by uid 500); 7 Nov 2013 04:18:53 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 45841 invoked by uid 500); 7 Nov 2013 04:18:49 -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 45834 invoked by uid 99); 7 Nov 2013 04:18:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 04:18:48 +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 (nike.apache.org: domain of hellojinjie@gmail.com designates 209.85.219.45 as permitted sender) Received: from [209.85.219.45] (HELO mail-oa0-f45.google.com) (209.85.219.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 04:18:41 +0000 Received: by mail-oa0-f45.google.com with SMTP id i4so15603oah.32 for ; Wed, 06 Nov 2013 20:18:20 -0800 (PST) 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=hRWHX7y34p88UvEFvF0laiC/8hgW71yyD2F1/orpQkk=; b=X+9+PVSBJV0IYCy+I8JmN+pgA0RoqUtHK7A5MRVCMGmW+NxLyaVF9J/WmfVHadDj63 7bze1syC90tkfgTuyGjmTtq1eadDWosvWQU7QXZN4rXkgKjdv5OTuDa2+C7r4uG5Di94 ivqNSK+NlGxsCSO9LLcxhe8mCc9l9Egh7oG72RE65gd6qvfm9jZelIHbPwTIe8KcRMLw /Dpe/0MlrjGaS/K8/PS0oxx9z3HECZ2hng/RFEieRf0UYJjjhI9hjqv+FKKYhfFQdYEn w8ugu3P/WO3482APLINF2PO/pfZwWXqUAcvCs2Q/lSlcaLXEJZUZ5UvVj0BCNDikA3+S l/qg== MIME-Version: 1.0 X-Received: by 10.60.45.102 with SMTP id l6mr111605oem.36.1383797900417; Wed, 06 Nov 2013 20:18:20 -0800 (PST) Received: by 10.182.156.37 with HTTP; Wed, 6 Nov 2013 20:18:20 -0800 (PST) In-Reply-To: References: Date: Thu, 7 Nov 2013 12:18:20 +0800 Message-ID: Subject: Re: issue about add disk on DN From: =?UTF-8?B?6YeR5p2w?= To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e0149ce364ba4d904ea8e8ea9 X-Virus-Checked: Checked by ClamAV on apache.org --089e0149ce364ba4d904ea8e8ea9 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable You can setup a test environment, and have a try. By decrement 1, the replica blocks will be reduced. Best Regards =BD=F0=BD=DC (Jie Jin) On Thu, Nov 7, 2013 at 10:39 AM, ch huang wrote: > =D5=E2=B8=F6=BA=C3=CF=F1=B2=BB=CC=AB=BA=CF=C0=ED=B0=C9=A3=AC=C8=E7=B9=FB= =CE=D2=D4=AD=C0=B43=BF=E9=C5=CC=B5=C4=BB=B0=A3=AC=B1=E4=B3=C96=BF=E9=C5=CC= =D0=E8=D2=AA=D3=C93=B8=F6=BF=BD=B1=B4=B8=C4=B3=C9=C1=F9=B8=F6=BF=BD=B1=B4= =A3=BF > =C4=C7=CE=D2=C8=E7=B9=FB=C5=AA=CD=EA=BA=F3=B8=C4=BB=D83=B8=F6=BF=BD=B1=B4= =D4=AD=C0=B4=B5=C4=CA=FD=BE=DD=BB=B9=CA=C7=B4=E66=BF=BD=B1=B4=B5=C4=D1=BD= =A3=AC=C4=C7=B2=BB=CA=C7=C0=CB=B7=D1=BF=D5=BC=E4=A3=BF > > On Thu, Nov 7, 2013 at 9:44 AM, =BD=F0=BD=DC wrot= e: > >> yes, you can rebalance them. try hdfs rebalance. Or, you can first >> increment the replica by 1, then decrement by 1. >> >> >> Best Regards >> =BD=F0=BD=DC (Jay Jin) >> >> >> On Thu, Nov 7, 2013 at 8:34 AM, ch huang wrote: >> >>> hi,all: >>> i have a DN,and i mount the two disk ,one disk for >>> /data/dataspace/1, and one disk for /data/dataspace/2, >>> the two disk is almost full, so i add a new disk,and modify the config >>> file,now >>> disk3 mount on /data/dataspace/3 , is it possible even distribution of >>> data on the three disks? >>> >> >> > --089e0149ce364ba4d904ea8e8ea9 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable
You can setup a test envi= ronment, and have a try.

By decrement 1, the replica bloc= ks will be reduced.

=

Best Regards
=BD=F0=BD=DC (Jie Jin)


On Thu, Nov 7, 2013 at 10:39 AM, ch huan= g <justlooks@gmail.com> wrote:
=D5=E2=B8=F6=BA=C3=CF=F1=B2=BB=CC=AB=BA=CF=C0=ED=B0=C9=A3=AC=C8=E7=B9= =FB=CE=D2=D4=AD=C0=B43=BF=E9=C5=CC=B5=C4=BB=B0=A3=AC=B1=E4=B3=C96=BF=E9=C5= =CC=D0=E8=D2=AA=D3=C93=B8=F6=BF=BD=B1=B4=B8=C4=B3=C9=C1=F9=B8=F6=BF=BD=B1= =B4=A3=BF
=C4=C7=CE=D2=C8=E7=B9=FB=C5=AA=CD=EA=BA=F3=B8=C4=BB=D83=B8=F6=BF=BD=B1= =B4=D4=AD=C0=B4=B5=C4=CA=FD=BE=DD=BB=B9=CA=C7=B4=E66=BF=BD=B1=B4=B5=C4=D1= =BD=A3=AC=C4=C7=B2=BB=CA=C7=C0=CB=B7=D1=BF=D5=BC=E4=A3=BF

On Thu, Nov 7, 2013 at 9:44 AM, =BD=F0=BD=DC <hellojinjie@gmail.com> wrote:
yes, you can rebalance them. try hdfs rebalance. Or, you can first inc= rement the replica by 1, then decrement by 1.


Best Reg= ards
=BD=F0= =BD=DC (Jay Jin)


On Thu, Nov 7, 2013 at 8:34 AM, ch huang <jus= tlooks@gmail.com> wrote:
hi,all:
        i have a DN,and i mount the= two disk ,one disk for /data/dataspace/1, and one disk for /data/dataspace= /2,
the two disk is almost full, so i add a new disk,and modify the config= file,now
disk3 mount on /data/dataspace/3 , is it possible even distribution of data on t= he three disks?



--089e0149ce364ba4d904ea8e8ea9--