Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34DB510AB3 for ; Wed, 5 Feb 2014 00:31:26 +0000 (UTC) Received: (qmail 60686 invoked by uid 500); 5 Feb 2014 00:31:23 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 60511 invoked by uid 500); 5 Feb 2014 00:31:23 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 60335 invoked by uid 99); 5 Feb 2014 00:31:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 00:31:22 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of busbey@cloudera.com designates 209.85.216.170 as permitted sender) Received: from [209.85.216.170] (HELO mail-qc0-f170.google.com) (209.85.216.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 00:31:16 +0000 Received: by mail-qc0-f170.google.com with SMTP id e9so15358256qcy.1 for ; Tue, 04 Feb 2014 16:30:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=7mLpkt3Q4xUImZy41zND+PdgFH9yxr+2Lvb8QAR1zFI=; b=TRQzjVm2JSdPoY7mEpB2aq4AtVXhPWayjO9V3863zpeB8T/blySu3urGktoPdcAJ1y TmYlbhEHkfR1oClvSU2kdlg2qyv/t1BemmeFxKOkfDhkD7H87jK2VVSmknMoMZbRR/lM U5R5EHGlgw6qexc49A7OFo29eb4onHY2lhqMpLI/eeHvkvEWZ6rNklR6+0LuCaLEwxCJ u9vUD5CV2VQdAwmFHdNM24QvxEubKjZC7u1Qb1LbQXRBOM6/H6IIW5On9MNuoXheLwQD TNBY9uz2em8+tAmNQh/v56q4fFgZFBF4B8h54E2lti/+MSVP7cR3r9imfXalpUIxr7BS vEmg== X-Gm-Message-State: ALoCoQnEstoDTqyq5Jh8qgbET7LI1Ub6ss9vCbA7D3aiPBNCSJ0uRmq/CA4HMuJGxMPs21KSbCBM MIME-Version: 1.0 X-Received: by 10.140.88.112 with SMTP id s103mr68158266qgd.47.1391560255998; Tue, 04 Feb 2014 16:30:55 -0800 (PST) Received: by 10.229.232.67 with HTTP; Tue, 4 Feb 2014 16:30:55 -0800 (PST) Received: by 10.229.232.67 with HTTP; Tue, 4 Feb 2014 16:30:55 -0800 (PST) In-Reply-To: <1391559200450-7389.post@n5.nabble.com> References: <1391559200450-7389.post@n5.nabble.com> Date: Tue, 4 Feb 2014 18:30:55 -0600 Message-ID: Subject: Re: Problems Running accumulo 1.4.3 hellowworld example CDH 4.3 From: Sean Busbey To: "dev@accumulo apache. org" Content-Type: multipart/alternative; boundary=001a11c117cebe215d04f19ddedd X-Virus-Checked: Checked by ClamAV on apache.org --001a11c117cebe215d04f19ddedd Content-Type: text/plain; charset=UTF-8 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" 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. > --001a11c117cebe215d04f19ddedd--