Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0618F98CE for ; Thu, 22 Mar 2012 18:48:43 +0000 (UTC) Received: (qmail 69506 invoked by uid 500); 22 Mar 2012 18:48:43 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 69475 invoked by uid 500); 22 Mar 2012 18:48:43 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 69466 invoked by uid 99); 22 Mar 2012 18:48:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2012 18:48:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2012 18:48:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 86FC9340B5C for ; Thu, 22 Mar 2012 18:48:22 +0000 (UTC) Date: Thu, 22 Mar 2012 18:48:22 +0000 (UTC) From: "Tom White (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1251498165.3791.1332442102564.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <10697353.42141289538553594.JavaMail.jira@thor> Subject: [jira] [Commented] (HADOOP-7030) new topology mapping implementations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-7030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235873#comment-13235873 ] Tom White commented on HADOOP-7030: ----------------------------------- Steve - these are good features, but it's better to introduce API changes at the time the feature is added so that you and reviewers are sure the API fits the use case. > new topology mapping implementations > ------------------------------------ > > Key: HADOOP-7030 > URL: https://issues.apache.org/jira/browse/HADOOP-7030 > Project: Hadoop Common > Issue Type: New Feature > Affects Versions: 0.20.1, 0.20.2, 0.21.0 > Reporter: Patrick Angeles > Assignee: Tom White > Attachments: HADOOP-7030-2.patch, HADOOP-7030.patch, HADOOP-7030.patch, HADOOP-7030.patch, topology.patch > > > The default ScriptBasedMapping implementation of DNSToSwitchMapping for determining cluster topology has some drawbacks. Principally, it forks to an OS-specific script. > This issue proposes two new Java implementations of DNSToSwitchMapping. TableMapping reads a two column text file that maps an IP or hostname to a rack ID. Ip4RangeMapping reads a three column text file where each line represents a start and end IP range plus a rack ID. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira