Hi Chris! You're running into a Hadoop 1 v Hadoop 2 problem.
The Apache Accumulo 1.4.3 release only works on Hadoop 1 and CDH4 uses Hadoop 2. You can either use 1.5.0, wait for the 1.4.5 release, or use a vendor customized version of Accumulo. HTH On Feb 4, 2014 7:26 PM, "cprigano" <[email protected]> wrote: > I am trying to put together a accumulo/cloudera quick start as an education > package for students. Accumulo is running, but I am having problems > attempting to execute samples, namely hellowworld. > > It appears it is finding hadoop and not accumulo classes? > > Following is execution and error messages. I appreciate your assistance! > > ./bin/accumulo > org.apache.accumulo.examples.simple.helloworld.InsertWithOutputFormat > "instance" localhost:2181 "username" "password" hellotable > > Thread > "org.apache.accumulo.examples.simple.helloworld.InsertWithOutputFormat" > died > nulljava.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.accumulo.start.Main$1.run(Main.java:89) > at java.lang.Thread.run(Thread.java:662) > Caused by: java.lang.IncompatibleClassChangeError: Found interface > org.apache.hadoop.mapreduce.JobContext, but class was expected at > > org.apache.accumulo.core.util.ContextFactory.createTaskAttemptContext(ContextFactory.java:131) > at > > org.apache.accumulo.examples.simple.helloworld.InsertWithOutputFormat.run(InsertWithOutputFormat.java:56) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at > > org.apache.accumulo.examples.simple.helloworld.InsertWithOutputFormat.main(InsertWithOutputFormat.java:76) > ... 6 more > > Thanks! Chris > > > > -- > View this message in context: > http://apache-accumulo.1065345.n5.nabble.com/Problems-Running-accumulo-1-4-3-hellowworld-example-CDH-4-3-tp7389.html > Sent from the Developers mailing list archive at Nabble.com. >
