You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Suneel Marthi (JIRA)" <ji...@apache.org> on 2015/11/06 06:23:27 UTC

[jira] [Updated] (MAHOUT-1637) RecommenderJob of ALS fails in the mapper because it uses the instance of other class

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

Suneel Marthi updated MAHOUT-1637:
----------------------------------
    Fix Version/s:     (was: 0.11.1)
                   0.12.0

> RecommenderJob of ALS fails in the mapper because it uses the instance of other class
> -------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-1637
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1637
>             Project: Mahout
>          Issue Type: Bug
>          Components: Collaborative Filtering
>    Affects Versions: 0.9
>            Reporter: Cristian Galán
>            Assignee: Andrew Musselman
>              Labels: als, collaborative-filtering, legacy
>             Fix For: 0.12.0
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> In the map method of PredictionMapper when executes the next line:       Pair<OpenIntObjectHashMap<Vector>, OpenIntObjectHashMap<Vector>> uAndM = getSharedInstance();
> the job fail because obtains the instance of other class. This occurs because I launch a local job, so the instance exists previously and for this doesn't make the new correct instance for ALS.
> The solution that it works me is to add the next line:.
>         SharingMapper.reset();
> in method run of JobRecommender of org.apache.mahout.cf.taste.hadoop.als package 
> I have to test it in my environment with distributed mapreduce, hadoop fs, zookeeper and others if it works correctly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)