Hadoop Common
  1. Hadoop Common
  2. HADOOP-10664

TestNetUtils.testNormalizeHostName fails

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:

      Description

      java.lang.AssertionError: null
      at org.junit.Assert.fail(Assert.java:86)
      at org.junit.Assert.assertTrue(Assert.java:41)
      at org.junit.Assert.assertFalse(Assert.java:64)
      at org.junit.Assert.assertFalse(Assert.java:74)
      at org.apache.hadoop.net.TestNetUtils.testNormalizeHostName(TestNetUtils.java:617)

      1. HADOOP-10664.patch
        1 kB
        Aaron T. Myers

        Activity

        Show
        Chen He added a comment - For more information, it is here: https://builds.apache.org/job/PreCommit-HADOOP-Build/4007//testReport/org.apache.hadoop.net/TestNetUtils/testNormalizeHostName/
        Hide
        Remus Rusanu added a comment -

        HADOOP-8372 introduced a dependency on 3w.org to resolve via DNS. Apparently the host no longer resolves today.

        Show
        Remus Rusanu added a comment - HADOOP-8372 introduced a dependency on 3w.org to resolve via DNS. Apparently the host no longer resolves today.
        Hide
        Chen He added a comment -

        Hi Remus Rusanu, thank you for the comment, would you like to work on this JIRA?

        Show
        Chen He added a comment - Hi Remus Rusanu , thank you for the comment, would you like to work on this JIRA?
        Hide
        Remus Rusanu added a comment -

        The fix is a bit more complicated. For one, every branch affected must be fixed. But more important is to find a fix that does not suffer from the same issue (ie. not simply pick another host that could fail tomorrow). I for one would vote for the Apache foundation to register a DNS, eg. 1test.apache.org or similar, and then use that DNS name in the unit test. But such a solution is beyond my bandwith, and beyond my leverage with the foundation. So I would rather leave this for someone more experienced to pick up. I'm sure it will be a pretty hot issue soon if the 3w.org stays down, all patches uploaded will start fail...

        Show
        Remus Rusanu added a comment - The fix is a bit more complicated. For one, every branch affected must be fixed. But more important is to find a fix that does not suffer from the same issue (ie. not simply pick another host that could fail tomorrow). I for one would vote for the Apache foundation to register a DNS, eg. 1test.apache.org or similar, and then use that DNS name in the unit test. But such a solution is beyond my bandwith, and beyond my leverage with the foundation. So I would rather leave this for someone more experienced to pick up. I'm sure it will be a pretty hot issue soon if the 3w.org stays down, all patches uploaded will start fail...
        Hide
        Remus Rusanu added a comment -

        FYI, 3w.org was updated recently:

        >whois 3w.org
        ...
        Updated Date: 2014-06-04T14:23:31Z
        
        Show
        Remus Rusanu added a comment - FYI, 3w.org was updated recently: >whois 3w.org ... Updated Date: 2014-06-04T14:23:31Z
        Hide
        Andrew Wang added a comment -

        Could we just use apache.org for our test host? I doubt it's going anywhere

        Show
        Andrew Wang added a comment - Could we just use apache.org for our test host? I doubt it's going anywhere
        Hide
        Remus Rusanu added a comment -

        The DNS for 3w.org is back today: 213.175.197.40.

        Andrew Wang it has to be a name that starts with a number, that's what the test is validating (regression test for HADOOP-8372). Of course Apache could register such a subdomain and then we could use that.

        Show
        Remus Rusanu added a comment - The DNS for 3w.org is back today: 213.175.197.40. Andrew Wang it has to be a name that starts with a number, that's what the test is validating (regression test for HADOOP-8372 ). Of course Apache could register such a subdomain and then we could use that.
        Hide
        Aaron T. Myers added a comment -

        Here's a patch which switches the hostname to one that should be more reliably up. It's a Google Apps URL for a site that I run, that's not going away for the foreseeable future.

        Show
        Aaron T. Myers added a comment - Here's a patch which switches the hostname to one that should be more reliably up. It's a Google Apps URL for a site that I run, that's not going away for the foreseeable future.
        Hide
        Andrew Wang added a comment -

        +1 thanks ATM

        Show
        Andrew Wang added a comment - +1 thanks ATM
        Hide
        Hadoop QA added a comment -

        +1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12648691/HADOOP-10664.patch
        against trunk revision .

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

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

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

        +1 javadoc. There were no new javadoc warning messages.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

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

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed unit tests in hadoop-common-project/hadoop-common.

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

        Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/4023//testReport/
        Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/4023//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/12648691/HADOOP-10664.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 1 new or modified test files. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . There were no new javadoc warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in hadoop-common-project/hadoop-common. +1 contrib tests . The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/4023//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/4023//console This message is automatically generated.
        Hide
        Aaron T. Myers added a comment -

        I've just committed this to trunk and branch-2.

        Thanks a lot for the review, Andrew.

        Show
        Aaron T. Myers added a comment - I've just committed this to trunk and branch-2. Thanks a lot for the review, Andrew.
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in Hadoop-trunk-Commit #5670 (See https://builds.apache.org/job/Hadoop-trunk-Commit/5670/)
        HADOOP-10664. TestNetUtils.testNormalizeHostName fails. Contributed by Aaron T. Myers. (atm: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1601478)

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Show
        Hudson added a comment - SUCCESS: Integrated in Hadoop-trunk-Commit #5670 (See https://builds.apache.org/job/Hadoop-trunk-Commit/5670/ ) HADOOP-10664 . TestNetUtils.testNormalizeHostName fails. Contributed by Aaron T. Myers. (atm: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1601478 ) /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk #579 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/579/)
        HADOOP-10664. TestNetUtils.testNormalizeHostName fails. Contributed by Aaron T. Myers. (atm: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1601478)

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Show
        Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #579 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/579/ ) HADOOP-10664 . TestNetUtils.testNormalizeHostName fails. Contributed by Aaron T. Myers. (atm: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1601478 ) /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk #1770 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1770/)
        HADOOP-10664. TestNetUtils.testNormalizeHostName fails. Contributed by Aaron T. Myers. (atm: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1601478)

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Show
        Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #1770 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1770/ ) HADOOP-10664 . TestNetUtils.testNormalizeHostName fails. Contributed by Aaron T. Myers. (atm: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1601478 ) /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk #1797 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1797/)
        HADOOP-10664. TestNetUtils.testNormalizeHostName fails. Contributed by Aaron T. Myers. (atm: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1601478)

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
        Show
        Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #1797 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1797/ ) HADOOP-10664 . TestNetUtils.testNormalizeHostName fails. Contributed by Aaron T. Myers. (atm: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1601478 ) /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java

          People

          • Assignee:
            Aaron T. Myers
            Reporter:
            Chen He
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development