Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 73169 invoked from network); 14 Oct 2008 19:23:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Oct 2008 19:23:01 -0000 Received: (qmail 16041 invoked by uid 500); 14 Oct 2008 19:22:56 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 16008 invoked by uid 500); 14 Oct 2008 19:22:56 -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 15997 invoked by uid 99); 14 Oct 2008 19:22:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2008 12:22:55 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.145.54.172] (HELO mrout2.yahoo.com) (216.145.54.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2008 19:21:46 +0000 Received: from SNV-EXBH01.ds.corp.yahoo.com (snv-exbh01.ds.corp.yahoo.com [207.126.227.249]) by mrout2.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id m9EJJw1W089544 for ; Tue, 14 Oct 2008 12:19:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:user-agent:date:subject:from:to:message-id: thread-topic:thread-index:in-reply-to:mime-version:content-type: content-transfer-encoding:return-path:x-originalarrivaltime; b=z4wiQB1LUuWWMHl/MvSx0bwT1vzRT3Y4WUAOaIaSBygnGagsYI/0YjmhajjXssHD Received: from SNV-EXVS09.ds.corp.yahoo.com ([207.126.227.86]) by SNV-EXBH01.ds.corp.yahoo.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 14 Oct 2008 12:19:10 -0700 Received: from 10.72.112.100 ([10.72.112.100]) by SNV-EXVS09.ds.corp.yahoo.com ([207.126.227.84]) via Exchange Front-End Server snv-webmail.corp.yahoo.com ([207.126.227.59]) with Microsoft Exchange Server HTTP-DAV ; Tue, 14 Oct 2008 19:19:09 +0000 User-Agent: Microsoft-Entourage/12.12.0.080729 Date: Tue, 14 Oct 2008 12:19:08 -0700 Subject: Re: getting HDFS to rack-aware mode From: Hairong Kuang To: hadoop-user Message-ID: Thread-Topic: getting HDFS to rack-aware mode Thread-Index: AckuMbrboyM+/MoggEST7mBhNN0HYA== In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 14 Oct 2008 19:19:10.0304 (UTC) FILETIME=[BC3B2E00:01C92E31] X-Virus-Checked: Checked by ClamAV on apache.org Using -w option for the set replication command will wait until replication is done. Then run fsck to check if the all blocks are on at least two racks. Hairong On 10/14/08 12:06 PM, "Sriram Rao" wrote: > Hi, > > We have a cluster where we running HDFS in non-rack-aware mode. Now, > we want to switch HDFS to run in rack-aware mode. Apart from the > config changes (and restarting HDFS), to rackify the existing data, we > were thinking of increasing/decreasing replication level a few times > to get the data spread. Are there any tools that will enable us to > know when we are "done"? > > Sriram