Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # dev >> Problems Running accumulo 1.4.3 hellowworld example CDH 4.3


Copy link to this message
-
Re: Problems Running accumulo 1.4.3 hellowworld example CDH 4.3
just kidding -- didn't read. Billie's right.

On 2/4/14, 7:30 PM, Josh Elser wrote:
> "Caused by: java.lang.IncompatibleClassChangeError: Found interface
> org.apache.hadoop.mapreduce.JobContext, but class was expected"
>
> Looks like you might need to recompile Accumulo against the version of
> Hadoop you're running. I thought we got rid of all of these
> incompatibilities, though.
>
> What versions are you running?
>
> On 2/4/14, 7:13 PM, cprigano 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.
>>

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB