Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 35869 invoked from network); 22 Oct 2008 00:54:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Oct 2008 00:54:32 -0000 Received: (qmail 35331 invoked by uid 500); 22 Oct 2008 00:54:29 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 35247 invoked by uid 500); 22 Oct 2008 00:54:28 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 35236 invoked by uid 99); 22 Oct 2008 00:54:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 17:54:28 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown ip:219.131.196.85 (athena.apache.org: encountered unrecognized mechanism during SPF processing of domain of weiwei1@kingsoft.com) Received: from [210.76.110.132] (HELO dbmail.kingsoft.com) (210.76.110.132) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 22 Oct 2008 00:53:16 +0000 X-scanvirus: By EQAVSE AntiVirus Engine X-scanresult: CLEAN X-MAILFROM: X-RCPTTO: X-FROMIP: 219.131.196.66 X-EQManager-Scaned: 1 X-EQAUTHUSER: weiwei1 X-Received: unknown,219.131.196.66,20081022091138 Received: from unknown (HELO ?192.168.1.120?) (weiwei1@219.131.196.66) by localhost with SMTP; 22 Oct 2008 01:11:38 -0000 Message-ID: <48FE799D.5070300@kingsoft.com> Date: Wed, 22 Oct 2008 08:53:49 +0800 From: David Wei Reply-To: weiwei1@kingsoft.com User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Ski Gh3 CC: "core-user@hadoop.apache.org" Subject: Re: adding more datanode References: <48FD2985.9010702@kingsoft.com> In-Reply-To: Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Well, in my cluster, I do this: 1. Adding new machines into conf/slaves on master machine 2. On the new nodes, run format command 3. Back to master, run start-all.sh 4. Run start-balancer.sh , still on master Then I got the new nodes inside my cluster and no need to reboot the whole system. Hopefully this will help. ;=) Ski Gh3 �: > I'm not sure I get this. > 1. If you format the filesystem (which I thought is usually executed > on the master node, but anyway) > don't you erase all your data? > 2. I guess I need to add the new machine to the conf/slaves file, > but then I run the start-all.sh again from the master node while my > cluster is already running? > > Thanks! > On Mon, Oct 20, 2008 at 5:59 PM, David Wei > wrote: > > this is quite easy. U can just config your new datanodes as others > and format the filesystem before u start it. > Remember to make it ssh-able for your master and run > ./bin/start-all.sh on the master machine if you want to start all > the deamons. This will start and add the new datanodes to the > up-and-running cluster. > > hopefully my info will be help. > > > Ski Gh3 �: > > hi, > > I am wondering how to add more datanodes to an up-and-running > hadoop > instance? > Couldn't find instructions on this from the wiki page. > > Thanks! > > > > >