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

Start Phase doesn't properly work in RecommenderJob

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.6
    • None
    • None

    Description

      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:

      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)

      This appears to be due to the fact that the numberOfUsers variable defaults to 0 and is only set when phase 1 is run.

      Attachments

        1. MAHOUT-802b.patch
          1 kB
          Grant Ingersoll
        2. MAHOUT-802.patch
          3 kB
          Grant Ingersoll

        Activity

          People

            gsingers Grant Ingersoll
            gsingers Grant Ingersoll
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: