Hey There,
I have set up a cluster wich is suposed to work properly. I can add data
files and read them from a java app.
But when I ejecute a mapred job I am getting this exception:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at
org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:123)
        at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:612)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:328)
        at org.apache.hadoop.mapred.Child$4.run(Child.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:742)
        at org.apache.hadoop.mapred.Child.main(Child.java:211)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.apache.hadoop.util

Any idea why is this happening?

-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/weird-exception-when-running-mapreduce-jobs-with-hadoop-0-21-0-tp1488154p1488154.html
Sent from the Hadoop lucene-users mailing list archive at Nabble.com.

Reply via email to