Hadoop Common
  1. Hadoop Common
  2. HADOOP-7668

Add a NetUtils method that can tell if an InetAddress belongs to local host

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0, 0.24.0
    • Component/s: util
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      closing again

      Description

      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.

      1. HADOOP-7668-printlns.patch
        0.9 kB
        Steve Loughran
      2. HADOOP-7668.txt
        3 kB
        Suresh Srinivas
      3. HADOOP-7668.txt
        3 kB
        Suresh Srinivas
      4. HDFS-7668.txt
        4 kB
        Suresh Srinivas
      5. HADOOP-7668.txt
        3 kB
        Suresh Srinivas
      6. HADOOP-7668.txt
        3 kB
        Suresh Srinivas
      7. HADOOP-7668.txt
        3 kB
        Suresh Srinivas

        Activity

        Hide
        Milind Bhandarkar added a comment -

        Suresh, I think you want a check to see if the same file representing a block is accessible from the client as well as the datanode. (Checking that both client and datanode is on the same host, is an overly restrictive check. In some ways, even if both client and datanode are run on the same node, with chrooted containers, this is an overly general check.) Right ?

        Show
        Milind Bhandarkar added a comment - Suresh, I think you want a check to see if the same file representing a block is accessible from the client as well as the datanode. (Checking that both client and datanode is on the same host, is an overly restrictive check. In some ways, even if both client and datanode are run on the same node, with chrooted containers, this is an overly general check.) Right ?
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12495442/HADOOP-7668.txt
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 3 new or modified tests.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        -1 release audit. The applied patch generated 1 release audit warnings (more than the trunk's current 0 warnings).

        +1 core tests. The patch passed unit tests in .

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/218//testReport/
        Release audit warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/218//artifact/trunk/patchprocess/patchReleaseAuditProblems.txt
        Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/218//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12495442/HADOOP-7668.txt against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. -1 release audit. The applied patch generated 1 release audit warnings (more than the trunk's current 0 warnings). +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/218//testReport/ Release audit warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/218//artifact/trunk/patchprocess/patchReleaseAuditProblems.txt Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/218//console This message is automatically generated.
        Hide
        Suresh Srinivas added a comment -

        Milind, not sure about your comment. This has nothing to do with block access. See HDFS-2231 or HDFS-2355 for details.

        Show
        Suresh Srinivas added a comment - Milind, not sure about your comment. This has nothing to do with block access. See HDFS-2231 or HDFS-2355 for details.
        Hide
        Suresh Srinivas added a comment -

        Release audit warning is unrelated. Not sure what this error is.

        [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (default-cli) on project hadoop-common: Too many unapproved licenses: 1 -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [ERROR] Re-run Maven using the -X switch to enable full debug logging.
        [ERROR]
        [ERROR] For more information about the errors and possible solutions, please read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
        [ERROR]
        [ERROR] After correcting the problems, you can resume the build with the command
        [ERROR] mvn <goals> -rf :hadoop-common

        Show
        Suresh Srinivas added a comment - Release audit warning is unrelated. Not sure what this error is. [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (default-cli) on project hadoop-common: Too many unapproved licenses: 1 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hadoop-common
        Hide
        Milind Bhandarkar added a comment -

        Of course it is needed for those two issues. However, I believe something like this is needed for checking if a client can directly access a block file on the datanode on localhost too, no ? Am I missing something ?

        Show
        Milind Bhandarkar added a comment - Of course it is needed for those two issues. However, I believe something like this is needed for checking if a client can directly access a block file on the datanode on localhost too, no ? Am I missing something ?
        Hide
        Suresh Srinivas added a comment -

        HDFS-2246 equivalent on trunk might use this. But this issue is adding a utility method. More appropriate to have this discussion in HDFS-2246?

        Show
        Suresh Srinivas added a comment - HDFS-2246 equivalent on trunk might use this. But this issue is adding a utility method. More appropriate to have this discussion in HDFS-2246 ?
        Hide
        Ravi Prakash added a comment -
        • Should we have the System.out.println statements?
        • Checked for localhost, 127.0.0.1 and hostnames on my network. It works
        Show
        Ravi Prakash added a comment - Should we have the System.out.println statements? Checked for localhost, 127.0.0.1 and hostnames on my network. It works
        Hide
        Suresh Srinivas added a comment -

        Thanks Ravi for catching it. I am going to remove the System.out.println

        Show
        Suresh Srinivas added a comment - Thanks Ravi for catching it. I am going to remove the System.out.println
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12496037/HADOOP-7668.txt
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 3 new or modified tests.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        -1 release audit. The applied patch generated 1 release audit warnings (more than the trunk's current 0 warnings).

        +1 core tests. The patch passed unit tests in .

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/219//testReport/
        Release audit warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/219//artifact/trunk/patchprocess/patchReleaseAuditProblems.txt
        Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/219//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12496037/HADOOP-7668.txt against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. -1 release audit. The applied patch generated 1 release audit warnings (more than the trunk's current 0 warnings). +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/219//testReport/ Release audit warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/219//artifact/trunk/patchprocess/patchReleaseAuditProblems.txt Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/219//console This message is automatically generated.
        Hide
        Steve Loughran added a comment -

        this patch assumes that InetAddress.getLocalHost() is never null. HDFS-116 and HADOOP-4475 show that this is not always the case. You should look for nullness and report it meaningfully.

        Show
        Steve Loughran added a comment - this patch assumes that InetAddress.getLocalHost() is never null. HDFS-116 and HADOOP-4475 show that this is not always the case. You should look for nullness and report it meaningfully.
        Hide
        Suresh Srinivas added a comment -

        You should look for nullness and report it meaningfully.

        This call is in the test right? Will add check for null in NetUtils#isLocalHost() and return false if the InetAddress passed is null.

        Show
        Suresh Srinivas added a comment - You should look for nullness and report it meaningfully. This call is in the test right? Will add check for null in NetUtils#isLocalHost() and return false if the InetAddress passed is null.
        Hide
        Suresh Srinivas added a comment -

        Updated patch

        1. Checks for null in NetUtils#isLocalAddress()
        2. Modifed NetUtils#getLocalInetAddress()to isLocalAddress() method.
        Show
        Suresh Srinivas added a comment - Updated patch Checks for null in NetUtils#isLocalAddress() Modifed NetUtils#getLocalInetAddress()to isLocalAddress() method.
        Hide
        Suresh Srinivas added a comment -

        right patch.

        Show
        Suresh Srinivas added a comment - right patch.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12496149/HDFS-7668.txt
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 3 new or modified tests.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        -1 release audit. The applied patch generated 1 release audit warnings (more than the trunk's current 0 warnings).

        +1 core tests. The patch passed unit tests in .

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/223//testReport/
        Release audit warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/223//artifact/trunk/patchprocess/patchReleaseAuditProblems.txt
        Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/223//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12496149/HDFS-7668.txt against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. -1 release audit. The applied patch generated 1 release audit warnings (more than the trunk's current 0 warnings). +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/223//testReport/ Release audit warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/223//artifact/trunk/patchprocess/patchReleaseAuditProblems.txt Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/223//console This message is automatically generated.
        Hide
        Suresh Srinivas added a comment -

        Following release audit warning is unrelated to this patch and has been happening for other precommit builds as well:
        [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (default-cli) on project hadoop-common: Too many unapproved licenses: 1 -> [Help 1]

        Show
        Suresh Srinivas added a comment - Following release audit warning is unrelated to this patch and has been happening for other precommit builds as well: [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (default-cli) on project hadoop-common: Too many unapproved licenses: 1 -> [Help 1]
        Hide
        Suresh Srinivas added a comment -

        Added Apache license header missing in log4j.properties to fix release audit warnings.

        Show
        Suresh Srinivas added a comment - Added Apache license header missing in log4j.properties to fix release audit warnings.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12496166/HADOOP-7668.txt
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 3 new or modified tests.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        -1 release audit. The applied patch generated 1 release audit warnings (more than the trunk's current 0 warnings).

        +1 core tests. The patch passed unit tests in .

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/224//testReport/
        Release audit warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/224//artifact/trunk/patchprocess/patchReleaseAuditProblems.txt
        Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/224//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12496166/HADOOP-7668.txt against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. -1 release audit. The applied patch generated 1 release audit warnings (more than the trunk's current 0 warnings). +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/224//testReport/ Release audit warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/224//artifact/trunk/patchprocess/patchReleaseAuditProblems.txt Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/224//console This message is automatically generated.
        Hide
        Ravi Prakash added a comment -

        Suresh! Please see https://issues.apache.org/jira/browse/HADOOP-7671 . Looks like the conf directory wasn't in the rat exclude list. Can you please commit the patch there?

        Show
        Ravi Prakash added a comment - Suresh! Please see https://issues.apache.org/jira/browse/HADOOP-7671 . Looks like the conf directory wasn't in the rat exclude list. Can you please commit the patch there?
        Hide
        Jitendra Nath Pandey added a comment -

        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.

        Show
        Jitendra Nath Pandey added a comment - 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.
        Hide
        Suresh Srinivas added a comment -

        New patch addresses Jitendra's comments.

        Show
        Suresh Srinivas added a comment - New patch addresses Jitendra's comments.
        Hide
        Suresh Srinivas added a comment -

        I committed the patch.

        Show
        Suresh Srinivas added a comment - I committed the patch.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #978 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/978/)
        HADOOP-7668. Add a NetUtils method that can tell if an InetAddress belongs to local host. Contributed by Suresh Srinivas.

        suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176986
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #978 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/978/ ) HADOOP-7668 . Add a NetUtils method that can tell if an InetAddress belongs to local host. Contributed by Suresh Srinivas. suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176986 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1056 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1056/)
        HADOOP-7668. Add a NetUtils method that can tell if an InetAddress belongs to local host. Contributed by Suresh Srinivas.

        suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176986
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1056 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1056/ ) HADOOP-7668 . Add a NetUtils method that can tell if an InetAddress belongs to local host. Contributed by Suresh Srinivas. suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176986 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #999 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/999/)
        HADOOP-7668. Add a NetUtils method that can tell if an InetAddress belongs to local host. Contributed by Suresh Srinivas.

        suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176986
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #999 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/999/ ) HADOOP-7668 . Add a NetUtils method that can tell if an InetAddress belongs to local host. Contributed by Suresh Srinivas. suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176986 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Hide
        Steve Loughran added a comment -

        patch as committed still has two System.out() calls. Re-open, file a new issue or can I just delete those two lines?

        Show
        Steve Loughran added a comment - patch as committed still has two System.out() calls. Re-open, file a new issue or can I just delete those two lines?
        Hide
        Steve Loughran added a comment -

        deleting the two printlns

        Show
        Steve Loughran added a comment - deleting the two printlns
        Hide
        Steve Loughran added a comment -

        Patch applied to revert the System.out() calls. I'm probably breaking the process by not doing a full JIRA or revert and repatch, but as this has just gone in I can probably get away with it.

        If this goes to 0.23 both patches need to be applied

        Show
        Steve Loughran added a comment - Patch applied to revert the System.out() calls. I'm probably breaking the process by not doing a full JIRA or revert and repatch, but as this has just gone in I can probably get away with it. If this goes to 0.23 both patches need to be applied
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1059 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1059/)
        HADOOP-7668 revert the System.out() calls

        stevel : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177035
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1059 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1059/ ) HADOOP-7668 revert the System.out() calls stevel : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177035 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #981 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/981/)
        HADOOP-7668 revert the System.out() calls

        stevel : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177035
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #981 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/981/ ) HADOOP-7668 revert the System.out() calls stevel : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177035 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #1003 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1003/)
        HADOOP-7668 revert the System.out() calls

        stevel : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177035
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1003 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1003/ ) HADOOP-7668 revert the System.out() calls stevel : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177035 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #815 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/815/)
        HADOOP-7668 revert the System.out() calls
        HADOOP-7668. Add a NetUtils method that can tell if an InetAddress belongs to local host. Contributed by Suresh Srinivas.

        stevel : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177035
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java

        suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176986
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #815 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/815/ ) HADOOP-7668 revert the System.out() calls HADOOP-7668 . Add a NetUtils method that can tell if an InetAddress belongs to local host. Contributed by Suresh Srinivas. stevel : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177035 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176986 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #845 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/845/)
        HADOOP-7668 revert the System.out() calls
        HADOOP-7668. Add a NetUtils method that can tell if an InetAddress belongs to local host. Contributed by Suresh Srinivas.

        stevel : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177035
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java

        suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176986
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #845 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/845/ ) HADOOP-7668 revert the System.out() calls HADOOP-7668 . Add a NetUtils method that can tell if an InetAddress belongs to local host. Contributed by Suresh Srinivas. stevel : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177035 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176986 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Hide
        Tsz Wo Nicholas Sze added a comment -

        Merged to 0.23.

        Show
        Tsz Wo Nicholas Sze added a comment - Merged to 0.23.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Commit #80 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/80/)
        Merge 1176986 and 1177035 from trunk for HADOOP-7668.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189976
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #80 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/80/ ) Merge 1176986 and 1177035 from trunk for HADOOP-7668 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189976 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-0.23-Commit #80 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/80/)
        Merge 1176986 and 1177035 from trunk for HADOOP-7668.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189976
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #80 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/80/ ) Merge 1176986 and 1177035 from trunk for HADOOP-7668 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189976 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Commit #76 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/76/)
        Merge 1176986 and 1177035 from trunk for HADOOP-7668.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189976
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #76 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/76/ ) Merge 1176986 and 1177035 from trunk for HADOOP-7668 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189976 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Build #65 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/65/)
        Merge 1176986 and 1177035 from trunk for HADOOP-7668.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189976
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #65 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/65/ ) Merge 1176986 and 1177035 from trunk for HADOOP-7668 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189976 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #1201 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1201/)
        Move HADOOP-7668, HADOOP-7509, HADOOP-7745, MAPREDUCE-2764, HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1201 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1201/ ) Move HADOOP-7668 , HADOOP-7509 , HADOOP-7745 , MAPREDUCE-2764 , HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1259 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1259/)
        Move HADOOP-7668, HADOOP-7509, HADOOP-7745, MAPREDUCE-2764, HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1259 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1259/ ) Move HADOOP-7668 , HADOOP-7509 , HADOOP-7745 , MAPREDUCE-2764 , HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1182 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1182/)
        Move HADOOP-7668, HADOOP-7509, HADOOP-7745, MAPREDUCE-2764, HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1182 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1182/ ) Move HADOOP-7668 , HADOOP-7509 , HADOOP-7745 , MAPREDUCE-2764 , HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #876 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/876/)
        Move HADOOP-7668, HADOOP-7509, HADOOP-7745, MAPREDUCE-2764, HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #876 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/876/ ) Move HADOOP-7668 , HADOOP-7509 , HADOOP-7745 , MAPREDUCE-2764 , HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #53 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/53/)
        Merge 1176986 and 1177035 from trunk for HADOOP-7668.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189976
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #53 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/53/ ) Merge 1176986 and 1177035 from trunk for HADOOP-7668 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189976 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #846 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/846/)
        Move HADOOP-7668, HADOOP-7509, HADOOP-7745, MAPREDUCE-2764, HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #846 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/846/ ) Move HADOOP-7668 , HADOOP-7509 , HADOOP-7745 , MAPREDUCE-2764 , HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

          People

          • Assignee:
            Steve Loughran
            Reporter:
            Suresh Srinivas
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development