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 AFF6E9693 for ; Wed, 21 Sep 2011 22:05:50 +0000 (UTC) Received: (qmail 39977 invoked by uid 500); 21 Sep 2011 22:05:50 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 39950 invoked by uid 500); 21 Sep 2011 22:05:50 -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 39942 invoked by uid 99); 21 Sep 2011 22:05:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 22:05:50 +0000 X-ASF-Spam-Status: No, hits=-2000.5 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; Wed, 21 Sep 2011 22:05:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 07B8AA7D7B for ; Wed, 21 Sep 2011 22:05:27 +0000 (UTC) Date: Wed, 21 Sep 2011 22:05:27 +0000 (UTC) From: "Ravi Prakash (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <967948759.58.1316642727028.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1751959850.52418.1316639228973.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7668) Add a NetUtils method that can tell if an InetAddress belongs to local host 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-7668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112154#comment-13112154 ] Ravi Prakash commented on HADOOP-7668: -------------------------------------- - Should we have the System.out.println statements? - Checked for localhost, 127.0.0.1 and hostnames on my network. It works :) > Add a NetUtils method that can tell if an InetAddress belongs to local host > --------------------------------------------------------------------------- > > Key: HADOOP-7668 > URL: https://issues.apache.org/jira/browse/HADOOP-7668 > Project: Hadoop Common > Issue Type: Improvement > Components: util > Reporter: Suresh Srinivas > Assignee: Suresh Srinivas > Fix For: 0.23.0, 0.24.0 > > Attachments: HADOOP-7668.txt > > > This utility will be useful for mechanism proposed in HDFS-2231 where based on matching configured address with local address, a node determines the related configuration parameters. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira