[ https://issues.apache.org/jira/browse/HADOOP-7668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116186#comment-13116186 ]
Jitendra Nath Pandey commented on HADOOP-7668: ---------------------------------------------- Following imports look spurious in TestNetUtils: +import org.mortbay.log.Log; +import com.google.common.net.InetAddresses; Please remove System.out.println in NetUtils.java. +1 otherwise. > 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, HADOOP-7668.txt, HADOOP-7668.txt, > HADOOP-7668.txt, HDFS-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. 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