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)

Reply via email to