Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3829

TestHftpURLTimeouts fails intermittently with JDK7

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2-alpha
    • Fix Version/s: 3.0.0, 2.0.3-alpha, 0.23.5
    • Component/s: test
    • Labels:
    • Environment:

      Description

      testHftpSocketTimeout fails if run after testHsftpSocketTimeout:

      testHftpSocketTimeout(org.apache.hadoop.hdfs.TestHftpURLTimeouts): expected:<connect timed out> but was:<null>
      
      1. HDFS-3829.patch
        3 kB
        Trevor Robinson

        Activity

        Trevor Robinson created issue -
        Hide
        Trevor Robinson added a comment -

        Closing the FileSystem at the end of each test fixes the failure.

        Show
        Trevor Robinson added a comment - Closing the FileSystem at the end of each test fixes the failure.
        Trevor Robinson made changes -
        Field Original Value New Value
        Attachment HDFS-3829.patch [ 12541810 ]
        Trevor Robinson made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Labels java7
        Hide
        Hadoop QA added a comment -

        +1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12541810/HDFS-3829.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. The javadoc tool did not generate any 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-hdfs-project/hadoop-hdfs.

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

        Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/3056//testReport/
        Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/3056//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/12541810/HDFS-3829.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. The javadoc tool did not generate any 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-hdfs-project/hadoop-hdfs. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/3056//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/3056//console This message is automatically generated.
        Hide
        Daryn Sharp added a comment -

        Can you just use an @After method?

        Show
        Daryn Sharp added a comment - Can you just use an @After method?
        Hide
        Trevor Robinson added a comment -

        You mean by moving HftpFileSystem fs from a local variable to an instance variable? That doesn't seem more readable to me.

        Show
        Trevor Robinson added a comment - You mean by moving HftpFileSystem fs from a local variable to an instance variable? That doesn't seem more readable to me.
        Hide
        Daryn Sharp added a comment -

        +1 Ok, I missed that. It just seemed like more change to the tests than needed.

        Show
        Daryn Sharp added a comment - +1 Ok, I missed that. It just seemed like more change to the tests than needed.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #2817 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2817/)
        HDFS-3829. TestHftpURLTimeouts fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1394609)

        Result = SUCCESS
        tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1394609
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpURLTimeouts.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2817 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2817/ ) HDFS-3829 . TestHftpURLTimeouts fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1394609) Result = SUCCESS tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1394609 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpURLTimeouts.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #2879 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2879/)
        HDFS-3829. TestHftpURLTimeouts fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1394609)

        Result = SUCCESS
        tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1394609
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpURLTimeouts.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2879 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2879/ ) HDFS-3829 . TestHftpURLTimeouts fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1394609) Result = SUCCESS tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1394609 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpURLTimeouts.java
        Hide
        Thomas Graves added a comment -

        Thanks Trevor and Daryn. I've committed this.

        Show
        Thomas Graves added a comment - Thanks Trevor and Daryn. I've committed this.
        Thomas Graves made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Target Version/s 3.0.0, 2.0.3-alpha, 0.23.5 [ 12320356, 12323274, 12323313 ]
        Fix Version/s 3.0.0 [ 12320356 ]
        Fix Version/s 2.0.3-alpha [ 12323274 ]
        Fix Version/s 0.23.5 [ 12323313 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #2841 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2841/)
        HDFS-3829. TestHftpURLTimeouts fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1394609)

        Result = FAILURE
        tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1394609
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpURLTimeouts.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2841 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2841/ ) HDFS-3829 . TestHftpURLTimeouts fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1394609) Result = FAILURE tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1394609 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpURLTimeouts.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #396 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/396/)
        merge -r 1394609:1394610 from branch-2. FIXES: HDFS-3829 (Revision 1394617)

        Result = SUCCESS
        tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1394617
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpURLTimeouts.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #396 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/396/ ) merge -r 1394609:1394610 from branch-2. FIXES: HDFS-3829 (Revision 1394617) Result = SUCCESS tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1394617 Files : /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpURLTimeouts.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1187 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1187/)
        HDFS-3829. TestHftpURLTimeouts fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1394609)

        Result = SUCCESS
        tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1394609
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpURLTimeouts.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1187 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1187/ ) HDFS-3829 . TestHftpURLTimeouts fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1394609) Result = SUCCESS tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1394609 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpURLTimeouts.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1218 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1218/)
        HDFS-3829. TestHftpURLTimeouts fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1394609)

        Result = FAILURE
        tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1394609
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpURLTimeouts.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1218 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1218/ ) HDFS-3829 . TestHftpURLTimeouts fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1394609) Result = FAILURE tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1394609 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpURLTimeouts.java
        Thomas Graves made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Trevor Robinson
            Reporter:
            Trevor Robinson
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development