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 1912B9CCA for ; Fri, 18 Nov 2011 08:38:14 +0000 (UTC) Received: (qmail 25989 invoked by uid 500); 18 Nov 2011 08:38:13 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 25965 invoked by uid 500); 18 Nov 2011 08:38:13 -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 25957 invoked by uid 99); 18 Nov 2011 08:38:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2011 08:38:12 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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; Fri, 18 Nov 2011 08:38:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C758C8CD0F for ; Fri, 18 Nov 2011 08:37:51 +0000 (UTC) Date: Fri, 18 Nov 2011 08:37:51 +0000 (UTC) From: "Sho Shimauchi (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <684349149.42610.1321605471817.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <461045540.10205.1320744651624.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7806) [DNS] Support binding to sub-interfaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-7806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152722#comment-13152722 ] Sho Shimauchi commented on HADOOP-7806: --------------------------------------- nested ifs would be better, remove else clause. > [DNS] Support binding to sub-interfaces > --------------------------------------- > > Key: HADOOP-7806 > URL: https://issues.apache.org/jira/browse/HADOOP-7806 > Project: Hadoop Common > Issue Type: New Feature > Components: util > Affects Versions: 0.24.0 > Reporter: Harsh J > Assignee: Harsh J > Fix For: 0.24.0 > > Attachments: HADOOP-7806.patch > > > Right now, with the {{DNS}} class, we can look up IPs of provided interface names ({{eth0}}, {{vm1}}, etc.). However, it would be useful if the I/F -> IP lookup also took a look at subinterfaces ({{eth0:1}}, etc.) and allowed binding to only a specified subinterface / virtual interface. > This should be fairly easy to add, by matching against all available interfaces' subinterfaces via Java. -- 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