mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajpal, Harjeet Kumar" <Harjeet.Ku...@Honeywell.com>
Subject RE: Mahout on Hadoop
Date Mon, 07 Dec 2009 07:01:47 GMT
Hi Sean,

Sorry for Delay in Reply. 
I got the new code now. The error has changed.

09/12/07 12:25:34 INFO mapred.FileInputFormat: Total input paths to
process : 1
09/12/07 12:25:37 INFO mapred.JobClient: Running job:
job_200912071126_0007
09/12/07 12:25:38 INFO mapred.JobClient:  map 0% reduce 0%
09/12/07 12:25:58 INFO mapred.JobClient: Task Id :
attempt_200912071126_0007_m_000000_0, Status : FAILED
java.lang.RuntimeException: Error in configuring object
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:9
3)
	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.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:8
8)
	... 5 more
Caused by: java.lang.RuntimeException: Error in configuring object
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:9
3)
	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.MapRunner.configure(MapRunner.java:34)
	... 10 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:8
8)
	... 13 more
Caused by: java.lang.IllegalStateException:
java.lang.NoClassDefFoundError:
org/uncommons/maths/random/MersenneTwisterRNG
	at
org.apache.mahout.cf.taste.hadoop.RecommenderMapper.configure(Recommende
rMapper.java:93)
	... 18 more
Caused by: java.lang.NoClassDefFoundError:
org/uncommons/maths/random/MersenneTwisterRNG
	at
org.apache.mahout.cf.taste.impl.common.FastByIDMap.<init>(FastByIDMap.ja
va:80)
	at
org.apache.mahout.cf.taste.impl.common.FastByIDMap.<init>(FastByIDMap.ja
va:54)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.buildModel(File
DataModel.java:152)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.reload(FileData
Model.java:131)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.checkLoaded(Fil
eDataModel.java:347)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.getNumItems(Fil
eDataModel.java:406)
	at
org.apache.mahout.cf.taste.impl.recommender.slopeone.MemoryDiffStorage.<
init>(MemoryDiffStorage.java:95)
	at
org.apache.mahout.cf.taste.impl.recommender.slopeone.SlopeOneRecommender
.<init>(SlopeOneRecommender.java:63)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)
	at
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at
org.apache.mahout.cf.taste.hadoop.RecommenderMapper.configure(Recommende
rMapper.java:83)
	... 18 more
Caused by: java.lang.ClassNotFoundException:
org.uncommons.maths.random.MersenneTwisterRNG
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	... 31 more

09/12/07 12:25:59 INFO mapred.JobClient: Task Id :
attempt_200912071126_0007_m_000001_0, Status : FAILED
java.lang.RuntimeException: Error in configuring object
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:9
3)
	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.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:8
8)
	... 5 more
Caused by: java.lang.RuntimeException: Error in configuring object
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:9
3)
	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.MapRunner.configure(MapRunner.java:34)
	... 10 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:8
8)
	... 13 more
Caused by: java.lang.IllegalStateException:
java.lang.NoClassDefFoundError:
org/uncommons/maths/random/MersenneTwisterRNG
	at
org.apache.mahout.cf.taste.hadoop.RecommenderMapper.configure(Recommende
rMapper.java:93)
	... 18 more
Caused by: java.lang.NoClassDefFoundError:
org/uncommons/maths/random/MersenneTwisterRNG
	at
org.apache.mahout.cf.taste.impl.common.FastByIDMap.<init>(FastByIDMap.ja
va:80)
	at
org.apache.mahout.cf.taste.impl.common.FastByIDMap.<init>(FastByIDMap.ja
va:54)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.buildModel(File
DataModel.java:152)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.reload(FileData
Model.java:131)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.checkLoaded(Fil
eDataModel.java:347)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.getNumItems(Fil
eDataModel.java:406)
	at
org.apache.mahout.cf.taste.impl.recommender.slopeone.MemoryDiffStorage.<
init>(MemoryDiffStorage.java:95)
	at
org.apache.mahout.cf.taste.impl.recommender.slopeone.SlopeOneRecommender
.<init>(SlopeOneRecommender.java:63)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)
	at
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at
org.apache.mahout.cf.taste.hadoop.RecommenderMapper.configure(Recommende
rMapper.java:83)
	... 18 more
Caused by: java.lang.ClassNotFoundException:
org.uncommons.maths.random.MersenneTwisterRNG
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	... 31 more

09/12/07 12:26:08 INFO mapred.JobClient: Task Id :
attempt_200912071126_0007_m_000001_1, Status : FAILED
java.lang.RuntimeException: Error in configuring object
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:9
3)
	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.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:8
8)
	... 5 more
Caused by: java.lang.RuntimeException: Error in configuring object
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:9
3)
	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.MapRunner.configure(MapRunner.java:34)
	... 10 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:8
8)
	... 13 more
Caused by: java.lang.IllegalStateException:
java.lang.NoClassDefFoundError:
org/uncommons/maths/random/MersenneTwisterRNG
	at
org.apache.mahout.cf.taste.hadoop.RecommenderMapper.configure(Recommende
rMapper.java:93)
	... 18 more
Caused by: java.lang.NoClassDefFoundError:
org/uncommons/maths/random/MersenneTwisterRNG
	at
org.apache.mahout.cf.taste.impl.common.FastByIDMap.<init>(FastByIDMap.ja
va:80)
	at
org.apache.mahout.cf.taste.impl.common.FastByIDMap.<init>(FastByIDMap.ja
va:54)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.buildModel(File
DataModel.java:152)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.reload(FileData
Model.java:131)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.checkLoaded(Fil
eDataModel.java:347)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.getNumItems(Fil
eDataModel.java:406)
	at
org.apache.mahout.cf.taste.impl.recommender.slopeone.MemoryDiffStorage.<
init>(MemoryDiffStorage.java:95)
	at
org.apache.mahout.cf.taste.impl.recommender.slopeone.SlopeOneRecommender
.<init>(SlopeOneRecommender.java:63)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)
	at
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at
org.apache.mahout.cf.taste.hadoop.RecommenderMapper.configure(Recommende
rMapper.java:83)
	... 18 more
Caused by: java.lang.ClassNotFoundException:
org.uncommons.maths.random.MersenneTwisterRNG
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	... 31 more

09/12/07 12:26:08 INFO mapred.JobClient: Task Id :
attempt_200912071126_0007_m_000000_1, Status : FAILED
java.lang.RuntimeException: Error in configuring object
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:9
3)
	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.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:8
8)
	... 5 more
Caused by: java.lang.RuntimeException: Error in configuring object
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:9
3)
	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.MapRunner.configure(MapRunner.java:34)
	... 10 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:8
8)
	... 13 more
Caused by: java.lang.IllegalStateException:
java.lang.NoClassDefFoundError:
org/uncommons/maths/random/MersenneTwisterRNG
	at
org.apache.mahout.cf.taste.hadoop.RecommenderMapper.configure(Recommende
rMapper.java:93)
	... 18 more
Caused by: java.lang.NoClassDefFoundError:
org/uncommons/maths/random/MersenneTwisterRNG
	at
org.apache.mahout.cf.taste.impl.common.FastByIDMap.<init>(FastByIDMap.ja
va:80)
	at
org.apache.mahout.cf.taste.impl.common.FastByIDMap.<init>(FastByIDMap.ja
va:54)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.buildModel(File
DataModel.java:152)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.reload(FileData
Model.java:131)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.checkLoaded(Fil
eDataModel.java:347)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.getNumItems(Fil
eDataModel.java:406)
	at
org.apache.mahout.cf.taste.impl.recommender.slopeone.MemoryDiffStorage.<
init>(MemoryDiffStorage.java:95)
	at
org.apache.mahout.cf.taste.impl.recommender.slopeone.SlopeOneRecommender
.<init>(SlopeOneRecommender.java:63)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)
	at
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at
org.apache.mahout.cf.taste.hadoop.RecommenderMapper.configure(Recommende
rMapper.java:83)
	... 18 more
Caused by: java.lang.ClassNotFoundException:
org.uncommons.maths.random.MersenneTwisterRNG
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	... 31 more

09/12/07 12:26:16 INFO mapred.JobClient: Task Id :
attempt_200912071126_0007_m_000000_2, Status : FAILED
java.lang.RuntimeException: Error in configuring object
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:9
3)
	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.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:8
8)
	... 5 more
Caused by: java.lang.RuntimeException: Error in configuring object
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:9
3)
	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.MapRunner.configure(MapRunner.java:34)
	... 10 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:8
8)
	... 13 more
Caused by: java.lang.IllegalStateException:
java.lang.NoClassDefFoundError:
org/uncommons/maths/random/MersenneTwisterRNG
	at
org.apache.mahout.cf.taste.hadoop.RecommenderMapper.configure(Recommende
rMapper.java:93)
	... 18 more
Caused by: java.lang.NoClassDefFoundError:
org/uncommons/maths/random/MersenneTwisterRNG
	at
org.apache.mahout.cf.taste.impl.common.FastByIDMap.<init>(FastByIDMap.ja
va:80)
	at
org.apache.mahout.cf.taste.impl.common.FastByIDMap.<init>(FastByIDMap.ja
va:54)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.buildModel(File
DataModel.java:152)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.reload(FileData
Model.java:131)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.checkLoaded(Fil
eDataModel.java:347)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.getNumItems(Fil
eDataModel.java:406)
	at
org.apache.mahout.cf.taste.impl.recommender.slopeone.MemoryDiffStorage.<
init>(MemoryDiffStorage.java:95)
	at
org.apache.mahout.cf.taste.impl.recommender.slopeone.SlopeOneRecommender
.<init>(SlopeOneRecommender.java:63)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)
	at
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at
org.apache.mahout.cf.taste.hadoop.RecommenderMapper.configure(Recommende
rMapper.java:83)
	... 18 more
Caused by: java.lang.ClassNotFoundException:
org.uncommons.maths.random.MersenneTwisterRNG
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	... 31 more

09/12/07 12:26:16 INFO mapred.JobClient: Task Id :
attempt_200912071126_0007_m_000001_2, Status : FAILED
java.lang.RuntimeException: Error in configuring object
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:9
3)
	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.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:8
8)
	... 5 more
Caused by: java.lang.RuntimeException: Error in configuring object
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:9
3)
	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.MapRunner.configure(MapRunner.java:34)
	... 10 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:8
8)
	... 13 more
Caused by: java.lang.IllegalStateException:
java.lang.NoClassDefFoundError:
org/uncommons/maths/random/MersenneTwisterRNG
	at
org.apache.mahout.cf.taste.hadoop.RecommenderMapper.configure(Recommende
rMapper.java:93)
	... 18 more
Caused by: java.lang.NoClassDefFoundError:
org/uncommons/maths/random/MersenneTwisterRNG
	at
org.apache.mahout.cf.taste.impl.common.FastByIDMap.<init>(FastByIDMap.ja
va:80)
	at
org.apache.mahout.cf.taste.impl.common.FastByIDMap.<init>(FastByIDMap.ja
va:54)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.buildModel(File
DataModel.java:152)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.reload(FileData
Model.java:131)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.checkLoaded(Fil
eDataModel.java:347)
	at
org.apache.mahout.cf.taste.impl.model.file.FileDataModel.getNumItems(Fil
eDataModel.java:406)
	at
org.apache.mahout.cf.taste.impl.recommender.slopeone.MemoryDiffStorage.<
init>(MemoryDiffStorage.java:95)
	at
org.apache.mahout.cf.taste.impl.recommender.slopeone.SlopeOneRecommender
.<init>(SlopeOneRecommender.java:63)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)
	at
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at
org.apache.mahout.cf.taste.hadoop.RecommenderMapper.configure(Recommende
rMapper.java:83)
	... 18 more
Caused by: java.lang.ClassNotFoundException:
org.uncommons.maths.random.MersenneTwisterRNG
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	... 31 more

09/12/07 12:26:29 INFO mapred.JobClient: Job complete:
job_200912071126_0007
09/12/07 12:26:29 INFO mapred.JobClient: Counters: 3
09/12/07 12:26:29 INFO mapred.JobClient:   Job Counters 
09/12/07 12:26:29 INFO mapred.JobClient:     Launched map tasks=8
09/12/07 12:26:29 INFO mapred.JobClient:     Data-local map tasks=8
09/12/07 12:26:29 INFO mapred.JobClient:     Failed map tasks=1
Exception in thread "main" java.io.IOException: Job failed!
	at
org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1252)
	at
org.apache.mahout.cf.taste.hadoop.RecommenderJob.main(RecommenderJob.jav
a:178)

Best Regards,
Harjeet Kumar Rajpal

-----Original Message-----
From: Sean Owen [mailto:srowen@gmail.com] 
Sent: Friday, December 04, 2009 1:38 PM
To: mahout-user@lucene.apache.org
Subject: Re: Mahout on Hadoop

Open RecommenderMapper.java. See that it contains "import
org.apache.hadoop.mapred.Mapper;" -- if it doesn't, then you don't
have the latest code. If it does, then it demonstrates that the Mapper
does implement the old APIs. The error you see says that the compiled
class does not implement the old API. that would suggest to me that
you do still somehow have the old compiled code somewhere. I can tell
you this works for me.

On Fri, Dec 4, 2009 at 6:06 AM, Rajpal, Harjeet Kumar
<Harjeet.Kumar@honeywell.com> wrote:
> Hi Sean,
> I checked out the whole code again from SVN but still the error is
same.
> What can be the possible other reason?
>
> Best Regards,
> Harjeet Kumar Rajpal
>
> -----Original Message-----
> From: Sean Owen [mailto:srowen@gmail.com]
> Sent: Thursday, December 03, 2009 9:52 PM
> To: mahout-user@lucene.apache.org
> Subject: Re: Mahout on Hadoop
>
> Oh wait, no, now I see the full stack trade. Yes that looks like the
> same error. Maybe you still have the old compiled code.
> RecommenderMapper now implements mapred.Mapper so that should not
> happen.
>
> On Thu, Dec 3, 2009 at 4:18 PM, Rajpal, Harjeet Kumar
> <Harjeet.Kumar@honeywell.com> wrote:
>> Yes, I am using Hadoop 0.20.1 . what can be reson for this error
>

Mime
View raw message