Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2291

Fix mrunit dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.13
    • 1.13
    • build
    • None

    Description

      The Jenkins builds fail with a NoClassDefFoundError, see build #3376 log. The missing class org/mockito/stubbing/Answer is part of build/test/lib/mockito-core-1.9.5.jar which was a dependency of mrunit (screenshot mrunit-deps-cached.png). After removing mrunit from my local ivy cache (rm -rf ~/.ivy2/cache/org.apache.mrunit/ mrunit lost mockito as dependency (screenshot mrunit-deps-new.png) and the build failure is reproducible.
      I don't understand what triggered the loss of the transitive dependency: the upgrade to Hadoop 2.7.2 (NUTCH-2236) or the addition of maven:classifier="hadoop2" in commit 7956daee.

      Attachments

        1. mrunit-deps-cached.png
          211 kB
          Sebastian Nagel
        2. mrunit-deps-new.png
          38 kB
          Sebastian Nagel
        3. NUTCH-2291-1.patch
          0.5 kB
          Sebastian Nagel
        4. NUTCH-2291-2.patch
          0.8 kB
          Sebastian Nagel

        Activity

          People

            snagel Sebastian Nagel
            snagel Sebastian Nagel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: