Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20681

IntegrationTestDriver fails after HADOOP-15406 due to missing hamcrest-core

    XMLWordPrintableJSON

Details

    • Hide
      <!-- markdown -->

      Users of our integration tests on Hadoop 3 can now add all needed dependencies by pointing at jars included in our binary convenience artifact.

      Prior to this fix, downstream users on Hadoop 3 would need to get a copy of the Hamcrest v1.3 jar from elsewhere.
      Show
      <!-- markdown --> Users of our integration tests on Hadoop 3 can now add all needed dependencies by pointing at jars included in our binary convenience artifact. Prior to this fix, downstream users on Hadoop 3 would need to get a copy of the Hamcrest v1.3 jar from elsewhere.

    Description

      HADOOP-15406 marked mockito and junit as test-only dependencies which, I believe, has stopped them from being included in a stock Hadoop classpath. Prior, you'd get hamcrest at share/hadoop/common/lib/hamcrest-core-1.3.jar

      However, we depend on it being there for our junit in hbase-it:

      [INFO] --- maven-dependency-plugin:3.0.1:tree (default-cli) @ hbase-it ---
      [INFO] org.apache.hbase:hbase-it:jar:2.0.1-SNAPSHOT
      [INFO] +- junit:junit:jar:4.12:test
      [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
      

      We need to make sure we include it.

      Attachments

        1. HBASE-20681.001.patch
          3 kB
          Josh Elser
        2. HBASE-20681.002.patch
          4 kB
          Josh Elser
        3. HBASE-20681.003.patch
          5 kB
          Josh Elser
        4. HBASE-20681.004.patch
          4 kB
          Josh Elser
        5. HBASE-20681.004.patch
          4 kB
          Josh Elser

        Activity

          People

            elserj Josh Elser
            romil.choksi Romil Choksi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: