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

Pat Ferrel commented on MAHOUT-1352:
------------------------------------

Sebastian, does mahout now require hadoop 1.x? When I build the solr 
recommender is get an error running the test with the following, which I think 
may just be newer than my hadoop 0.20.205? :

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/hadoop/mapreduce/lib/input/MultipleInputs
        at 
org.apache.mahout.cf.taste.hadoop.item.RecommenderJob.run(RecommenderJob.java:221)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at 
finderbots.recommenders.hadoop.RecommenderUpdateJob.run(RecommenderUpdateJob.java:120)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at 
finderbots.recommenders.hadoop.RecommenderUpdateJob.main(RecommenderUpdateJob.java:266)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
Caused by: java.lang.ClassNotFoundException: 
org.apache.hadoop.mapreduce.lib.input.MultipleInputs
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        ... 10 more
Maclaurin:scripts pat$ 



> Option to change RecommenderJob output format
> ---------------------------------------------
>
>                 Key: MAHOUT-1352
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1352
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.9
>            Reporter: Pat Ferrel
>            Assignee: Sebastian Schelter
>             Fix For: 0.9
>
>
> Can we add an option to output a SequenceFile? I hard coded it to allow the 
> Solr-recommender to work with the output file but it is probably best put in 
> an option.
>       //extract out the recommendations
>      Job aggregateAndRecommend = prepareJob(
>              new Path(aggregateAndRecommendInput), outputPath, 
> SequenceFileInputFormat.class,
>              PartialMultiplyMapper.class, VarLongWritable.class, 
> PrefAndSimilarityColumnWritable.class,
>              AggregateAndRecommendReducer.class, VarLongWritable.class, 
> RecommendedItemsWritable.class,
>              SequenceFileOutputFormat.class); <-- text format in Mahout trunk
> Should be able to choose format class from the params.



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

Reply via email to