mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAHOUT-802) Start Phase doesn't properly work in RecommenderJob
Date Fri, 09 Sep 2011 21:06:08 GMT

    [ https://issues.apache.org/jira/browse/MAHOUT-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101564#comment-13101564
] 

Grant Ingersoll commented on MAHOUT-802:
----------------------------------------

What's the new RatingMatrix?  I guess I should just give up and output user, item, preference,
but it just seems like such a waste when I already have everything for the user vector matrix.


> Start Phase doesn't properly work in RecommenderJob
> ---------------------------------------------------
>
>                 Key: MAHOUT-802
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-802
>             Project: Mahout
>          Issue Type: Bug
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: MAHOUT-802.patch, MAHOUT-802b.patch
>
>
> I'm trying to run RecommenderJob and do --startPhase 2 since I have my prefs already
in the right format.  Unfortunately, when I do that, I get:
> {quote}
> java.lang.IllegalArgumentException: Number of columns was not correctly set!
> 	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
> 	at org.apache.mahout.math.hadoop.similarity.RowSimilarityJob$SimilarityReducer.setup(RowSimilarityJob.java:296)
> 	at org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:174)
> 	at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:648)
> 	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:416)
> 	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:256)
> {quote}
> This appears to be due to the fact that the numberOfUsers variable defaults to 0 and
is only set when phase 1 is run.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message