You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Pat Ferrel (JIRA)" <ji...@apache.org> on 2013/11/07 00:15:17 UTC

[jira] [Created] (MAHOUT-1353) Visibility of preparePreferenceMatrix directory location

Pat Ferrel created MAHOUT-1353:
----------------------------------

             Summary: Visibility of preparePreferenceMatrix directory location
                 Key: MAHOUT-1353
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1353
             Project: Mahout
          Issue Type: New Feature
          Components: Collaborative Filtering
    Affects Versions: 0.9
            Reporter: Pat Ferrel
             Fix For: 0.9


The Solr-recommender needs to find where the RecommenderJob is putting it’s output. 

Mahout 0.8 RecommenderJob code was:
   public static final String DEFAULT_PREPARE_DIR = "preparePreferenceMatrix”;

Mahout 0.9 RecommenderJob code just puts “preparePreferenceMatrix” inline in the code:
   Path prepPath = getTempPath("preparePreferenceMatrix");

This change to Mahout 0.9 works:
   public static final String DEFAULT_PREPARE_DIR = "preparePreferenceMatrix”;
and
   Path prepPath = getTempPath(DEFAULT_PREPARE_DIR);

You could also make this a getter method on the RecommenderJob Class instead of using a public constant.



--
This message was sent by Atlassian JIRA
(v6.1#6144)