Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-893

Dependency Clash : Google Collections and Guava

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.6
    • Component/s: collections
    • Labels:
    • Environment:

      windows

      Description

      I tried to run the Recommender example in Mahout in Action Book.

      DataModel model = new FileDataModel(new File("intro.csv"));
      UserSimilarity similarity = new PearsonCorrelationSimilarity(model);

      The dependencies from google collections and guava are clashing while execution. Its picking some wrong class like Preconditions and few others which is giving error on runtime. I fixed that by excluding google-collections. The patch is attached which helped me fix this problem.

        Attachments

        1. MAHOUT-893
          0.5 kB
          Paritosh Ranjan

          Activity

            People

            • Assignee:
              srowen Sean Owen
              Reporter:
              paritoshranjan Paritosh Ranjan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: