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
I checked the version in the shell and here is what I got: Subversion file:///data/1/jenkins/workspace/generic-package-rhel64-6-0/topdir/BUILD/hadoop-2.0.0-cdh4.3.0/src/hadoop-common-project/hadoop-common -r 48a9315b342ca16de92fcc5be95ae3650629155a Compiled by jenkins on Mon May 27 19:45:25 PDT 2013 From source with checksum a4218d77f9b12df4e3e49ef96f9d357d This command was run using /usr/lib/hadoop/hadoop-common-2.0.0-cdh4.3.0.jar View this message in context: http://apache-accumulo.1065345.n5.nabble.com/Problems-Running-accumulo-1-4-3-hellowworld-example-CDH-4-3-tp7389p7398.html Sent from the Developers mailing list archive at Nabble.com.
On Tue, Feb 4, 2014 at 8:39 PM, cprigano <[EMAIL PROTECTED]> wrote:
Those instructions are vendor-specific. If you run into problems with them, you should seek assistance through that vendor's support process (community or otherwise), rather than the Apache mailing list.
I'll follow up with you off-list to point you in the correct direction should you decide to take that route.
If you just want to quickly start writing code against Accumulo, one option may be to use the new accumulo maven archetype. This will generate an accumulo project that builds and runs example code against MiniAccumuloCluster. MiniAccumuloCluster is java code that spawns a local Accumulo instance for testing. It should run nicely on a laptop. Below is the command to generate a sample maven project that uses MiniAccumuloCluster.
mvn -DarchetypeArtifactId=accumulo-instamo-archetype -DarchetypeVersion=1.4.4 -DarchetypeGroupId=org.apache.accumulo -DinteractiveMode=false archetype:generate On Wed, Feb 5, 2014 at 11:18 PM, cprigano <[EMAIL PROTECTED]> wrote:
Hi Keith, this sounds good. Can I still use netbeans to develop accumulo applications? Could I install on linux mint-15? On Thu, Feb 6, 2014 at 9:54 AM, Keith Turner [via Apache Accumulo] < ml-node+[EMAIL PROTECTED]> wrote:
On Thu, Feb 6, 2014 at 11:15 AM, cprigano <[EMAIL PROTECTED]> wrote: I use eclipse, so I am not sure. Eclipse has nice support for importing maven projects. If netbeans has this, then use the command I sent to generate the maven project and then import it into netbeans.
I would expect it work on any recent linux distro. If does not we would like to hear about it.
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext