[
https://issues.apache.org/jira/browse/MAPREDUCE-859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742765#action_12742765
]
Jothi Padmanabhan commented on MAPREDUCE-859:
---------------------------------------------
Stack trace:
joth...@doorwheel-lm $ bin/hadoop jar
build/hadoop-mapred-examples-0.21.0-dev.jar wordcount input output
09/08/13 13:58:48 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in
the classpath. Usage of hadoop-site.xml is deprecated. Instead use
core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of
core-default.xml, mapred-default.xml and hdfs-default.xml respectively
09/08/13 13:58:48 WARN fs.FileSystem: "localhost:7597" is a deprecated
filesystem name. Use "hdfs://localhost:7597/" instead.
09/08/13 13:58:49 WARN fs.FileSystem: "localhost:7597" is a deprecated
filesystem name. Use "hdfs://localhost:7597/" instead.
09/08/13 13:58:49 WARN fs.FileSystem: "localhost:7597" is a deprecated
filesystem name. Use "hdfs://localhost:7597/" instead.
09/08/13 13:58:49 WARN fs.FileSystem: "localhost:7597" is a deprecated
filesystem name. Use "hdfs://localhost:7597/" instead.
09/08/13 13:58:49 INFO input.FileInputFormat: Total input paths to process : 1
java.lang.NoClassDefFoundError: org/apache/avro/io/DatumReader
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at
org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:837)
at
org.apache.hadoop.io.serializer.SerializationFactory.add(SerializationFactory.java:66)
at
org.apache.hadoop.io.serializer.SerializationFactory.<init>(SerializationFactory.java:58)
at org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:925)
at
org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:806)
at org.apache.hadoop.mapreduce.Job.submit(Job.java:489)
at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:504)
at org.apache.hadoop.examples.WordCount.main(WordCount.java:67)
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.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:140)
at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:71)
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.RunJar.main(RunJar.java:160)
Caused by: java.lang.ClassNotFoundException: org.apache.avro.io.DatumReader
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:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:402)
... 22 more
> Unable to run examples with current trunk
> -----------------------------------------
>
> Key: MAPREDUCE-859
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-859
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.21.0
> Reporter: Jothi Padmanabhan
>
> Running wordcount with trunk gives java.lang.NoClassDefFoundError:
> org/apache/avro/io/DatumReader. ivy settings need to be updated to get avro
> jars as well
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.