Mahout
  1. Mahout
  2. MAHOUT-893

Dependency Clash : Google Collections and Guava

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

      1. MAHOUT-893
        0.5 kB
        Paritosh Ranjan

        Activity

        Sean Owen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Sean Owen made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Sean Owen made changes -
        Assignee Benson Margulies [ bmargulies ] Sean Owen [ srowen ]
        Affects Version/s 0.5 [ 12315255 ]
        Affects Version/s 0.6 [ 12316364 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Paritosh Ranjan made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Paritosh Ranjan made changes -
        Field Original Value New Value
        Attachment MAHOUT-893 [ 12504885 ]
        Paritosh Ranjan created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development