Details
Description
ALS algorithm uses distributed cache to temp files, but the distributed cache have other uses too, especially to add dependencies
(http://blog.cloudera.com/blog/2011/01/how-to-include-third-party-libraries-in-your-map-reduce-job/), so when in a hadoop's job we add a dependency library (or other file) ALS fails because it reads ALL files in Distribution Cache without distinction.
This occurs in the project of my company because we need to add Mahout dependencies (mahout, lucene,...) in an hadoop Configuration to run Mahout's jobs, otherwise the Mahout's job fails because it don't find the dependencies.
I propose two options (I think two valid options):
1) Eliminate all .jar in the return of HadoopUtil.getCacheFiles
2) Elliminate all Path object distinct of /part-*
I prefer the first because it's less aggressive, and I think this solution will be resolve all problems.
Pd: Sorry if my english is wrong.
Attachments
Attachments
Issue Links
- Dependent
-
MAHOUT-1627 Problem with ALS Factorizer MapReduce version when working with oozie because of files in distributed cache. Error: Unable to read sequence file from cache.
- Closed
-
MAHOUT-1695 the bug in class org.apache.mahout.cf.taste.hadoop.als.ALS
- Closed