Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1996

ivy: hdfs test jar should be independent to common test jar

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      hdfs tests and common tests may require different libraries, e.g. common tests need ftpserver for testing FTPFileSystem but hdfs does not.

      1. HDFS-1996.patch
        0.8 kB
        Eric Yang
      2. HDFS-1996-1.patch
        1 kB
        Eric Yang

        Activity

        Tsz Wo Nicholas Sze created issue -
        Hide
        Eric Yang added a comment -

        Make sure hdfs test profile contains junit jar file because it is a direct dependency.

        Show
        Eric Yang added a comment - Make sure hdfs test profile contains junit jar file because it is a direct dependency.
        Eric Yang made changes -
        Field Original Value New Value
        Attachment HDFS-1996.patch [ 12480482 ]
        Hide
        Eric Yang added a comment -

        Declare junit as direct dependency for hdfs test ivy profile.

        Show
        Eric Yang added a comment - Declare junit as direct dependency for hdfs test ivy profile.
        Eric Yang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Tsz Wo Nicholas Sze added a comment -

        Could you also change mockito from common->master to test->master?

        Show
        Tsz Wo Nicholas Sze added a comment - Could you also change mockito from common->master to test->master?
        Hide
        Eric Yang added a comment -

        Change mockit to test->master. Thanks Nicholas.

        Show
        Eric Yang added a comment - Change mockit to test->master. Thanks Nicholas.
        Eric Yang made changes -
        Attachment HDFS-1996-1.patch [ 12480486 ]
        Hide
        Tsz Wo Nicholas Sze added a comment -

        +1 patch looks good.

        Show
        Tsz Wo Nicholas Sze added a comment - +1 patch looks good.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12480486/HDFS-1996-1.patch
        against trunk revision 1127712.

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

        -1 tests included. The patch doesn't appear to include any new or modified tests.
        Please justify why no new tests are needed for this patch.
        Also please list what manual steps were performed to verify this patch.

        +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 does not increase the total number of release audit warnings.

        -1 core tests. The patch failed these core unit tests:
        org.apache.hadoop.hdfs.TestDFSStorageStateRecovery

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

        +1 system test framework. The patch passed system test framework compile.

        Test results: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/625//testReport/
        Findbugs warnings: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/625//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Console output: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/625//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/12480486/HDFS-1996-1.patch against trunk revision 1127712. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +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 does not increase the total number of release audit warnings. -1 core tests. The patch failed these core unit tests: org.apache.hadoop.hdfs.TestDFSStorageStateRecovery +1 contrib tests. The patch passed contrib unit tests. +1 system test framework. The patch passed system test framework compile. Test results: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/625//testReport/ Findbugs warnings: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/625//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/625//console This message is automatically generated.
        Hide
        Tsz Wo Nicholas Sze added a comment -

        I have committed this. Thanks, Eric!

        Show
        Tsz Wo Nicholas Sze added a comment - I have committed this. Thanks, Eric!
        Tsz Wo Nicholas Sze made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Fix Version/s 0.23.0 [ 12315571 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #686 (See https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/686/)
        HDFS-1996. ivy: hdfs test jar should be independent to common test jar. Contributed by Eric Yang

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

        • /hadoop/hdfs/trunk/CHANGES.txt
        • /hadoop/hdfs/trunk/ivy.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #686 (See https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/686/ ) HDFS-1996 . ivy: hdfs test jar should be independent to common test jar. Contributed by Eric Yang szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1127759 Files : /hadoop/hdfs/trunk/CHANGES.txt /hadoop/hdfs/trunk/ivy.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #678 (See https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk/678/)
        HDFS-1996. ivy: hdfs test jar should be independent to common test jar. Contributed by Eric Yang

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

        • /hadoop/hdfs/trunk/CHANGES.txt
        • /hadoop/hdfs/trunk/ivy.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #678 (See https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk/678/ ) HDFS-1996 . ivy: hdfs test jar should be independent to common test jar. Contributed by Eric Yang szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1127759 Files : /hadoop/hdfs/trunk/CHANGES.txt /hadoop/hdfs/trunk/ivy.xml
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        53m 51s 1 Eric Yang 25/May/11 23:51
        Patch Available Patch Available Resolved Resolved
        2h 38m 1 Tsz Wo Nicholas Sze 26/May/11 02:29
        Resolved Resolved Closed Closed
        172d 22h 23m 1 Arun C Murthy 15/Nov/11 00:52

          People

          • Assignee:
            Eric Yang
            Reporter:
            Tsz Wo Nicholas Sze
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development