Yes, same error, really. It expects an object that implements the old deprecated APIs, when using the new ones: org.apache.hadoop.mapred.Mapper. Unless I am missing something very big, yes, 0.20.x seems to have quite a critical problem.
These jobs are the "canaries" from the project testing out using the new APIs, and at the moment they don't work. I am in the process of trying to resolve this, because Hadoop 0.21 evidently fixes a lot of this. You can follow my progress in MAHOUT-143: https://issues.apache.org/jira/browse/MAHOUT-143 On Tue, Dec 1, 2009 at 6:50 AM, Rajpal, Harjeet Kumar <[email protected]> wrote: > Hello all, > This time when I reconfigured the Hadoop 0.20.1 the error has changed. > Now I am using Mahout 0.1. The error is: > > 09/12/01 12:07:01 INFO mapred.FileInputFormat: Total input paths to process : > 1 > 09/12/01 12:07:04 INFO mapred.JobClient: Running job: job_200912011202_0002 > 09/12/01 12:07:05 INFO mapred.JobClient: map 0% reduce 0% > 09/12/01 12:07:25 INFO mapred.JobClient: Task Id : > attempt_200912011202_0002_m_000000_0, Status : FAILED > java.lang.RuntimeException: Error in configuring object > at > org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:93) > at > org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:64) > at > org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117) > at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:354) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) > at org.apache.hadoop.mapred.Child.main(Child.java:170) > Caused by: java.lang.reflect.InvocationTargetException > 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.ReflectionUtils.setJobConf(ReflectionUtils.java:88) > ... 5 more > Caused by: java.lang.RuntimeException: java.lang.RuntimeException: class > org.apache.mahout.cf.taste.hadoop.RecommenderMapper not > org.apache.hadoop.mapred.Mapper > at > org.apache.hadoop.conf.Configuration.getClass(Configuration.java:840) > at org.apache.hadoop.mapred.JobConf.getMapperClass(JobConf.java:771) > at org.apache.hadoop.mapred.MapRunner.configure(MapRunner.java:34) > ... 10 more > Caused by: java.lang.RuntimeException: class > org.apache.mahout.cf.taste.hadoop.RecommenderMapper not > org.apache.hadoop.mapred.Mapper > at > org.apache.hadoop.conf.Configuration.getClass(Configuration.java:834) > ... 12 more > > 09/12/01 12:07:25 INFO mapred.JobClient: Task Id : > attempt_200912011202_0002_m_000001_0, Status : FAILED > java.lang.RuntimeException: Error in configuring object > at > org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:93) > at > org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:64) > at > org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117) > at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:354) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) > at org.apache.hadoop.mapred.Child.main(Child.java:170) > > I will Really appreciate if anybody can help. > > Best Regards, > Harjeet Kumar Rajpal
