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 8816FFFC9 for ; Mon, 15 Apr 2013 12:49:36 +0000 (UTC) Received: (qmail 81680 invoked by uid 500); 15 Apr 2013 12:49:31 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 81575 invoked by uid 500); 15 Apr 2013 12:49:31 -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 81563 invoked by uid 99); 15 Apr 2013 12:49:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Apr 2013 12:49:31 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vijayjtuk@hotmail.com designates 157.55.1.171 as permitted sender) Received: from [157.55.1.171] (HELO dub0-omc2-s32.dub0.hotmail.com) (157.55.1.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Apr 2013 12:49:25 +0000 Received: from DUB118-DS10 ([157.55.1.138]) by dub0-omc2-s32.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 15 Apr 2013 05:49:04 -0700 X-EIP: [y6Lp21/4OTvmy+nPMxuIWR/ZtOb1UiXB] X-Originating-Email: [vijayjtuk@hotmail.com] Message-ID: From: Vijay Thakorlal To: References: In-Reply-To: Subject: RE: How to set Rack Id of DataNodes? Date: Mon, 15 Apr 2013 13:50:11 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0038_01CE39E0.265C6510" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac450ZH0Hthopfu/R52oUAiDKUVZYgABBHow Content-Language: en-gb X-OriginalArrivalTime: 15 Apr 2013 12:49:04.0522 (UTC) FILETIME=[9C6946A0:01CE39D7] X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0038_01CE39E0.265C6510 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Mohammad, Yes that's correct your "rack awareness" script takes the IP address of a node and returns the rack name/id. You then just have to ensure the script is executable and referenced (using an absolute path) in the parameter topology.script.file.name in core-site.xml. Regards, Vijay From: Mohammad Mustaqeem [mailto:3m.mustaqeem@gmail.com] Sent: 15 April 2013 13:05 To: user@hadoop.apache.org Subject: How to set Rack Id of DataNodes? Hello everyone?? I want to set the Rack Id of each DataNodes?? I have read somewhere that we have to write a script that gives Rack Id of nodes. I want to clarify that the input of that script will be IP Address of DataNode and the output will be the RackId.. Is it?? -- With regards --- Mohammad Mustaqeem, M.Tech (CSE) MNNIT Allahabad 9026604270 ------=_NextPart_000_0038_01CE39E0.265C6510 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Mohammad,

 

Yes that’s correct your “rack awareness” script = takes the IP address of a node and returns the rack = name/id.

You then just have to ensure the script is executable and referenced = (using an absolute path) in the parameter topology.script.file.name in = core-site.xml.

 

Regards,

Vijay

 

From:= Mohammad = Mustaqeem [mailto:3m.mustaqeem@gmail.com]
Sent: 15 April 2013 = 13:05
To: user@hadoop.apache.org
Subject: How to set = Rack Id of DataNodes?

 

Hello = everyone??

    I want = to set the Rack Id of each DataNodes??

I have read somewhere that we have to write a script = that gives Rack Id of nodes.

I want to clarify that the input of that = script will be IP Address of DataNode and the output will be the = RackId..

Is it??

 

-- =

With regards = ---

Mohammad Mustaqeem,

M.Tech = (CSE)

MNNIT = Allahabad

9026604270

 

------=_NextPart_000_0038_01CE39E0.265C6510--