You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Paritosh Ranjan (Updated) (JIRA)" <ji...@apache.org> on 2011/11/23 17:05:40 UTC

[jira] [Updated] (MAHOUT-893) Dependency Clash : Google Collections and Guava

     [ https://issues.apache.org/jira/browse/MAHOUT-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paritosh Ranjan updated MAHOUT-893:
-----------------------------------

    Attachment: MAHOUT-893
    
> Dependency Clash : Google Collections and Guava
> -----------------------------------------------
>
>                 Key: MAHOUT-893
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-893
>             Project: Mahout
>          Issue Type: Bug
>          Components: collections
>    Affects Versions: 0.6
>         Environment: windows
>            Reporter: Paritosh Ranjan
>            Assignee: Benson Margulies
>              Labels: patch
>             Fix For: 0.6
>
>         Attachments: MAHOUT-893
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira