Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4.5, 1.5.0
    • Fix Version/s: 1.4.5
    • Component/s: wikisearch
    • Labels:
      None

      Description

      (I'm using 1.5.0 as a placeholder or Wikisearch's master branch)

      Wikisearch uses google collections 1.0, which has since been replaced by Guava.

      Hadoop 2 relies on Guava for its internals and includes it in the classpath. The Google Collections decommissioning notice warns

      Guava is a fully compatible superset of the old Google Collections Library. It also includes years worth of bug fixes, doc fixes, and performance fixes, so we strongly encourage you to use Guava instead of Google Collections.

      If your application ever ends up with both google-collect-1.0.jar and guava-r##.jar on the same classpath, simply remove the Google Collections JAR and you should be fine. If you don't remove it, it will either cause terrible problems (if it comes before guava in the classpath) or will never even be seen anyway (if it comes after).

      Under the Hadoop 2 profile, google collections comes first and a bunch of tests fail as a result.

        Issue Links

          Activity

          Hide
          Sean Busbey added a comment -

          Attached patch applies against new 1.4.5-SNAPSHOT branch from ACCUMULO-1977

          Show
          Sean Busbey added a comment - Attached patch applies against new 1.4.5-SNAPSHOT branch from ACCUMULO-1977
          Hide
          Sean Busbey added a comment -

          follow up to get similar fix into master branch under ACCUMULO-2446

          Show
          Sean Busbey added a comment - follow up to get similar fix into master branch under ACCUMULO-2446

            People

            • Assignee:
              Sean Busbey
              Reporter:
              Sean Busbey
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development