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 06FCE107BD for ; Wed, 8 May 2013 13:52:53 +0000 (UTC) Received: (qmail 34412 invoked by uid 500); 8 May 2013 13:52:47 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 34265 invoked by uid 500); 8 May 2013 13:52:46 -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 31679 invoked by uid 99); 8 May 2013 13:52:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 May 2013 13:52:42 +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 cembree@gmail.com designates 209.85.215.51 as permitted sender) Received: from [209.85.215.51] (HELO mail-la0-f51.google.com) (209.85.215.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 May 2013 13:52:38 +0000 Received: by mail-la0-f51.google.com with SMTP id ep20so1830306lab.38 for ; Wed, 08 May 2013 06:52:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:reply-to:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=o69ujf8ThXZ++Xx9K7UkExAY+Rh2i+knJ7hIMfVvfvQ=; b=uuLBju2byTll46N9a6XUHvFCTXropqZ2QYJQL7Imr+83F48u3RtAn6tJFUVpY98ZEY QXlm8rdgmPhqTU0kJsrHG7btTgND/o2FBUsAvwh3mmdafIoz1aXRSD7slLo2Xo4kl3qo cvm84xX/hLvmp2mI05s6rzBrZr7RzuzV+Z+/++Lc7fhJ36Q2fLnQth3aK+rE1gWXQ1uj 8hNLIL2lZLpiW7u1X3iDtLcjMrwtweqKnGG3aI0VZRimyfbRMvYGB4j/mCleoLqfh06Y ABvdP1VXWHqmt0cbghfbco5IMMC96+AmtGwadsl5o7wGX9OgUwtufN0yVWfpKdObWrLz nl/g== MIME-Version: 1.0 X-Received: by 10.112.158.194 with SMTP id ww2mr3364310lbb.56.1368021136724; Wed, 08 May 2013 06:52:16 -0700 (PDT) Received: by 10.112.81.136 with HTTP; Wed, 8 May 2013 06:52:15 -0700 (PDT) Reply-To: chris@embree.us In-Reply-To: References: Date: Wed, 8 May 2013 09:52:15 -0400 Message-ID: Subject: Re: Rack Aware Hadoop cluster From: Chris Embree To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11c337bce657f204dc353d6f X-Virus-Checked: Checked by ClamAV on apache.org --001a11c337bce657f204dc353d6f Content-Type: text/plain; charset=ISO-8859-1 Finally, one I can answer. :) That should be in core-site.xml (unless it's moved from ver 1.x). It needs to be in the configuration for NameNode(s) and JobTracker (Yarn). In 1.x you need to restart NN and JT services for the script to take effect. On Wed, May 8, 2013 at 9:43 AM, Mohammad Mustaqeem <3m.mustaqeem@gmail.com>wrote: > Hello everyone, > I was searching for how to make the hadoop cluster rack-aware and I > find out from here > http://hadoop.apache.org/docs/r2.0.4-alpha/hadoop-project-dist/hadoop-common/ClusterSetup.html#Hadoop_Rack_Awareness that > we can do this by giving property of "topology.script.file.name". But > here it is not written where to put this > > topology.script.file.name > > /home/mustaqeem/development/hadoop-2.0.3-alpha/etc/hadoop/rack.sh > > > Means in which configuration file. > I am using hadoop-2.0.3-alpha. > > > -- > *With regards ---* > *Mohammad Mustaqeem*, > M.Tech (CSE) > MNNIT Allahabad > 9026604270 > > > --001a11c337bce657f204dc353d6f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Finally, one I can answer. :) =A0That should be in core-si= te.xml (unless it's moved from ver 1.x). =A0It needs to be in the confi= guration for NameNode(s) and JobTracker (Yarn).

In= 1.x you need to restart NN and JT services for the script to take effect.<= /div>


On Wed,= May 8, 2013 at 9:43 AM, Mohammad Mustaqeem <3m.mustaqeem@gmail.com= > wrote:
Hello everyone,
=A0 =A0= I was searching for how to make the hadoop cluster rack-aware and I find o= ut from here=A0http://hadoop.apache.org/docs/r2.0.4-alpha/hadoop-project-dist/= hadoop-common/ClusterSetup.html#Hadoop_Rack_Awareness=A0that we can do = this by giving property of "topology.script.file.name". But here = it is not written where to put this=A0
<property>
=A0 =A0 =A0 =A0 <name>topology.script.file.name</name>
=A0 = =A0 =A0 =A0 <value>/home= /mustaqeem/development/hadoop-2.0.3-alpha/etc/hadoop/rack.sh</value><= /div>
</property>=A0

Means in which configura= tion file.
I am using hadoop-2.0.3-alpha.


--
With regards ---
Mohammad Mustaqee= m,
M= .Tech (CSE)
MNNIT Allahabad


--001a11c337bce657f204dc353d6f--