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

Dependency Clash : Google Collections and Guava

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.5
    • 0.6
    • None
    • 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

            srowen Sean R. Owen
            paritoshranjan Paritosh Ranjan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: