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

Sean Owen commented on MAHOUT-368:
----------------------------------

The .job file is used with Hadoop, not Maven.

To use Mahout in Maven, just reference it as a dependency in your project pom 
file.

To create a .job file that has your classes as well, you would need to use the 
JAR tool to add the .class files to the .job file. Or maybe your Maven POM can 
use the same tricks we do to generate such a '.job' file.

> should package core ,math and collections to one Jar package for hadoop 
> recommendations
> ---------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-368
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-368
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>             Fix For: 0.4
>
>
> should package core ,math and collections to one Jar package for 
> org.apache.mahout.cf.taste.hadoop.item.RecommenderJob.
> because RecommenderJob used classes  (for example 
> org.apache.mahout.math.VectorWritable )of the  math module of mahout project,
> but math and core module is the separated jar package.
> so when work on the hadoop env ,the class of math module can not load to 
> classloader in the datanode.
> it will cause class not found exception.
> the work around is package all mahout classes to one package manually.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to