Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13514

Upgrade maven surefire plugin to 2.20.1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 3.1.0
    • build
    • None

    Description

      A lot of people working on Hadoop don't want to run all the tests when they develop; only the bits they're working on. Surefire 2.19 introduced more useful test filters which let us run a subset of the tests that brings the build time down from 'come back tomorrow' to 'grab a coffee'.

      For instance, if I only care about the S3 adaptor, I might run:

      mvn test -Dmaven.javadoc.skip=true -Pdist,native -Djava.awt.headless=true \"-Dtest=org.apache.hadoop.fs.*, org.apache.hadoop.hdfs.*, org.apache.hadoop.fs.s3a.*\"
      

      We can work around this by specifying the surefire version on the command line but it would be better, imo, to just update the default surefire used.

      mvn test -Dmaven.javadoc.skip=true -Pdist,native -Djava.awt.headless=true \"-Dtest=org.apache.hadoop.fs.*, org.apache.hadoop.hdfs.*, org.apache.hadoop.fs.s3a.*\" -Dmaven-surefire-plugin.version=2.19.1
      

      Attachments

        1. HADOOP-13514.002.patch
          0.7 kB
          Ewan Higgs
        2. HADOOP-13514.003.patch
          2 kB
          Akira Ajisaka
        3. HADOOP-13514.004.patch
          3 kB
          Akira Ajisaka
        4. HADOOP-13514.005.patch
          6 kB
          Akira Ajisaka
        5. HADOOP-13514.006.patch
          6 kB
          Akira Ajisaka
        6. HADOOP-13514-addendum.01.patch
          0.7 kB
          Akira Ajisaka
        7. HADOOP-13514-testing.001.patch
          2 kB
          Akira Ajisaka
        8. HADOOP-13514-testing.002.patch
          3 kB
          Akira Ajisaka
        9. HADOOP-13514-testing.003.patch
          2 kB
          Akira Ajisaka
        10. HADOOP-13514-testing.004.patch
          2 kB
          Akira Ajisaka
        11. HADOOP-13514-testing.005.patch
          6 kB
          Akira Ajisaka
        12. surefire-2.19.patch
          0.7 kB
          Ewan Higgs

        Issue Links

          Activity

            People

              aajisaka Akira Ajisaka
              ehiggs Ewan Higgs
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: