Hadoop Common
  1. Hadoop Common
  2. HADOOP-8699

some common testcases create core-site.xml in test-classes making other testcases to fail

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.2-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Some of the testcases (HADOOP-8581, MAPREDUCE-4417) create core-site.xml files on the fly in test-classes, overriding the core-site.xml that is part of the test/resources.

      Things fail/pass depending on the order testcases are run (which seems dependent on the platform/jvm you are using).

      1. HADOOP-8699.patch
        4 kB
        Alejandro Abdelnur
      2. HADOOP-8699.patch
        4 kB
        Alejandro Abdelnur

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        51m 28s 1 Alejandro Abdelnur 14/Aug/12 20:28
        Patch Available Patch Available Resolved Resolved
        8h 56m 1 Alejandro Abdelnur 15/Aug/12 05:24
        Resolved Resolved Closed Closed
        57d 13h 20m 1 Arun C Murthy 11/Oct/12 18:45
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1167 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1167/)
        HADOOP-8699. some common testcases create core-site.xml in test-classes making other testcases to fail. (tucu) (Revision 1373206)

        Result = FAILURE
        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1373206
        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/http/HttpConfig.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestSSLHttpServer.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1167 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1167/ ) HADOOP-8699 . some common testcases create core-site.xml in test-classes making other testcases to fail. (tucu) (Revision 1373206) Result = FAILURE tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1373206 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/http/HttpConfig.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestSSLHttpServer.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1135 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1135/)
        HADOOP-8699. some common testcases create core-site.xml in test-classes making other testcases to fail. (tucu) (Revision 1373206)

        Result = FAILURE
        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1373206
        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/http/HttpConfig.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestSSLHttpServer.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1135 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1135/ ) HADOOP-8699 . some common testcases create core-site.xml in test-classes making other testcases to fail. (tucu) (Revision 1373206) Result = FAILURE tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1373206 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/http/HttpConfig.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestSSLHttpServer.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #2644 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2644/)
        HADOOP-8699. some common testcases create core-site.xml in test-classes making other testcases to fail. (tucu) (Revision 1373206)

        Result = SUCCESS
        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1373206
        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/http/HttpConfig.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestSSLHttpServer.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2644 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2644/ ) HADOOP-8699 . some common testcases create core-site.xml in test-classes making other testcases to fail. (tucu) (Revision 1373206) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1373206 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/http/HttpConfig.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestSSLHttpServer.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #2579 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2579/)
        HADOOP-8699. some common testcases create core-site.xml in test-classes making other testcases to fail. (tucu) (Revision 1373206)

        Result = SUCCESS
        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1373206
        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/http/HttpConfig.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestSSLHttpServer.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2579 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2579/ ) HADOOP-8699 . some common testcases create core-site.xml in test-classes making other testcases to fail. (tucu) (Revision 1373206) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1373206 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/http/HttpConfig.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestSSLHttpServer.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #2605 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2605/)
        HADOOP-8699. some common testcases create core-site.xml in test-classes making other testcases to fail. (tucu) (Revision 1373206)

        Result = FAILURE
        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1373206
        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/http/HttpConfig.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestSSLHttpServer.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2605 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2605/ ) HADOOP-8699 . some common testcases create core-site.xml in test-classes making other testcases to fail. (tucu) (Revision 1373206) Result = FAILURE tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1373206 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/http/HttpConfig.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestSSLHttpServer.java
        Alejandro Abdelnur made changes -
        Hadoop Flags Reviewed [ 10343 ]
        Resolution Fixed [ 1 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hide
        Alejandro Abdelnur added a comment -

        committed to trunk and branch-2.

        Show
        Alejandro Abdelnur added a comment - committed to trunk and branch-2.
        Hide
        Alejandro Abdelnur added a comment -

        failing testcases seem unrelated.

        Show
        Alejandro Abdelnur added a comment - failing testcases seem unrelated.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12540923/HADOOP-8699.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 failed these unit tests in hadoop-common-project/hadoop-common:

        org.apache.hadoop.ha.TestZKFailoverController

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

        Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1298//testReport/
        Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1298//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/12540923/HADOOP-8699.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 failed these unit tests in hadoop-common-project/hadoop-common: org.apache.hadoop.ha.TestZKFailoverController +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1298//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1298//console This message is automatically generated.
        Hide
        Tom White added a comment -

        +1 pending jenkins.

        Show
        Tom White added a comment - +1 pending jenkins.
        Hide
        Trevor Robinson added a comment -

        To aid in finding this issue, the failing tests include:

        • org.apache.hadoop.fs.TestS3_LocalFileContextURI
        • org.apache.hadoop.fs.s3native.TestInMemoryNativeS3FileSystemContract
        • org.apache.hadoop.fs.TestLocal_S3FileContextURI
        • org.apache.hadoop.fs.s3.TestInMemoryS3FileSystemContract
        Show
        Trevor Robinson added a comment - To aid in finding this issue, the failing tests include: org.apache.hadoop.fs.TestS3_LocalFileContextURI org.apache.hadoop.fs.s3native.TestInMemoryNativeS3FileSystemContract org.apache.hadoop.fs.TestLocal_S3FileContextURI org.apache.hadoop.fs.s3.TestInMemoryS3FileSystemContract
        Alejandro Abdelnur made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Alejandro Abdelnur made changes -
        Attachment HADOOP-8699.patch [ 12540923 ]
        Hide
        Alejandro Abdelnur added a comment -

        reducing the visibility of the setSecure() method in HttpConfig to package private.

        Show
        Alejandro Abdelnur added a comment - reducing the visibility of the setSecure() method in HttpConfig to package private.
        Alejandro Abdelnur made changes -
        Field Original Value New Value
        Attachment HADOOP-8699.patch [ 12540919 ]
        Alejandro Abdelnur created issue -

          People

          • Assignee:
            Alejandro Abdelnur
            Reporter:
            Alejandro Abdelnur
          • Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development