In the map method of PredictionMapper when executes the next line: Pair<OpenIntObjectHashMap<Vector>, OpenIntObjectHashMap<Vector>> uAndM = getSharedInstance();
the job fail because obtains the instance of other class. This occurs because I launch a local job, so the instance exists previously and for this doesn't make the new correct instance for ALS.
The solution that it works me is to add the next line:.
in method run of JobRecommender of org.apache.mahout.cf.taste.hadoop.als package
I have to test it in my environment with distributed mapreduce, hadoop fs, zookeeper and others if it works correctly.