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
On Thu, Feb 6, 2014 at 11:15 AM, 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?
>

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.
>
>
> On Thu, Feb 6, 2014 at 9:54 AM, Keith Turner [via Apache Accumulo] <
> ml-node+[EMAIL PROTECTED]> wrote:
>
> > 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 <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=7422&i=0>>
> > wrote:
> >
> > > I tried CENTOS with CHD5 but it is sooo slow. I only want a single node
> > to
> > > start prototyping stuff in accumulo... suggestions
> > >
> > >
> > > On Wed, Feb 5, 2014 at 10:15 PM, Chris Rigano <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=7422&i=1>
> > > >wrote:
> > >
> > > > Hi Sean R u saying uses CDH4.3 with accumulo 1.5.0?
> > > >
> > > > thanks, Chris
> > > >
> > > >
> > > > On Tue, Feb 4, 2014 at 6:31 PM, Sean Busbey-5 [via Apache Accumulo] <
> > > > [hidden email] <http://user/SendEmail.jtp?type=node&node=7422&i=2>>
> > wrote:
> > > >
> > > >> 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" <[hidden email]<
> > > http://user/SendEmail.jtp?type=node&node=7393&i=0>>
> > > >> 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

 
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