Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 87520 invoked from network); 5 Jan 2009 10:29:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2009 10:29:25 -0000 Received: (qmail 64677 invoked by uid 500); 5 Jan 2009 10:29:19 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 64630 invoked by uid 500); 5 Jan 2009 10:29:19 -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 64619 invoked by uid 99); 5 Jan 2009 10:29:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 02:29:19 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of c0d3h4ck@gmail.com designates 209.85.200.175 as permitted sender) Received: from [209.85.200.175] (HELO wf-out-1314.google.com) (209.85.200.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 10:29:09 +0000 Received: by wf-out-1314.google.com with SMTP id 24so7100197wfg.2 for ; Mon, 05 Jan 2009 02:28:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=VET3bz0faRvWNCRHOi0SzhbxSD3zx/uPtZ3aGLKVTVE=; b=kYX8O+yJb6GQvgtfI+7U4ArxxsYR3l9ftN7z7C0HerVRvn34advE+2idmPn4xjacBo OnwbJcbmp3eJNyrtqyBJDVsBzftW7c3iS8f3xjYguy4OeB2tj3zp5F477/t1JXZXW0Af Jj9qKsejwy670JsYDlkwzWV7hJnmpA05WNQhU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=eODBTmyCA2yyjc7GMhTNT6YExU/3Lg6THmows9eAIfkAEZlIPoaN7O2p5hKNIM/O83 mPjvSGPAVgdp2tVpHMHrQRFUi3lWuYeHfJyqY6ulOfd+caPmr5IVIpZVZZ7Ff0iRabdK /EfcZL+S/5LziksdxfjCWUHhNuhf5lwbPIVWc= Received: by 10.142.246.6 with SMTP id t6mr8600135wfh.265.1231151328542; Mon, 05 Jan 2009 02:28:48 -0800 (PST) Received: by 10.143.109.4 with HTTP; Mon, 5 Jan 2009 02:28:48 -0800 (PST) Message-ID: <4b2c7b610901050228o6bfeed4bndee5a1e9e1bccb4e@mail.gmail.com> Date: Mon, 5 Jan 2009 19:28:48 +0900 From: "Hyunsik Choi" To: core-user@hadoop.apache.org Subject: Why doesn't hadoop invoke the topology script with only IP address as the argument? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org I tried to use the topology script defined by topology.script.file.name property in order for rack awareness. After setting and restart hadoop, I ran the wordcount example to test rack awareness. However, some hosts are assigned to valid rack IDs produced by ip address, but others are assigned to invalid rack IDs produced by hostnames. In order to find the problem, I added dump code to the topology script file in order to store all given arguments to certain file. As a result, I knew that in most times the topology script file is called by IP address but in some case it is called by hostname. Is it correct? -- Hyunsik Choi Database & Information Systems Group, Korea University