--input specifies the data to use, and you have done so. It sounds like it's empty or not in the right format. What is in testdata/test.txt?
On Sun, May 2, 2010 at 6:48 PM, Tamas Jambor <jambo...@googlemail.com> wrote: > hi, > > I have just started exploring the distributed version of mahout. I wanted to > start with running the example job as follows: > > hadoop jar mahout-core-0.3.job > org.apache.mahout.cf.taste.hadoop.item.RecommenderJob --input > testdata/test.txt --output output --tempDir temp --jarFile > mahout-core-0.3.jar > > but I couldn't find a parameter where I can specify the data set the > recommender will use. I assume this is the reason why the job fails: > > 10/05/02 18:40:15 INFO mapred.JobClient: Task Id : > attempt_201004291158_0018_m_000001_2, Status : FAILED > java.lang.ArrayIndexOutOfBoundsException: 1 > at > org.apache.mahout.cf.taste.hadoop.item.ItemIDIndexMapper.map(ItemIDIndexMapper.java:42) > at > org.apache.mahout.cf.taste.hadoop.item.ItemIDIndexMapper.map(ItemIDIndexMapper.java:31) > at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50) > at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) > at org.apache.hadoop.mapred.Child.main(Child.java:170) > > thanks > > Tamas >