accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cprigano <chris.p.rig...@gmail.com>
Subject Re: Problems Running accumulo 1.4.3 hellowworld example CDH 4.3
Date Thu, 06 Feb 2014 16:15:38 GMT
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+s1065345n7422h35@n5.nabble.com> 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
> > >> >
> > >> >
> > >>
> >
> 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.
> > >> >
> > >>
> > >>
> > >> ------------------------------
> > >>  If you reply to this email, your message will be added to the
> > >> discussion below:
> > >>
> > >>
> >
> http://apache-accumulo.1065345.n5.nabble.com/Problems-Running-accumulo-1-4-3-hellowworld-example-CDH-4-3-tp7389p7393.html
> > >>  To unsubscribe from Problems Running accumulo 1.4.3 hellowworld
> example
> > >> CDH 4.3, click here<
> >
> >
> > >> .
> > >> NAML<
> >
> http://apache-accumulo.1065345.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>
> > >
> > >>
> > >
> > >
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-accumulo.1065345.n5.nabble.com/Problems-Running-accumulo-1-4-3-hellowworld-example-CDH-4-3-tp7389p7420.html
>
> > Sent from the Developers mailing list archive at Nabble.com.
> >
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-accumulo.1065345.n5.nabble.com/Problems-Running-accumulo-1-4-3-hellowworld-example-CDH-4-3-tp7389p7422.html
>  To unsubscribe from Problems Running accumulo 1.4.3 hellowworld example
> CDH 4.3, click here<http://apache-accumulo.1065345.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7389&code=Y2hyaXMucC5yaWdhbm9AZ21haWwuY29tfDczODl8NTkyODE0MjEy>
> .
> NAML<http://apache-accumulo.1065345.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://apache-accumulo.1065345.n5.nabble.com/Problems-Running-accumulo-1-4-3-hellowworld-example-CDH-4-3-tp7389p7423.html
Sent from the Developers mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message