Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@minotaur.apache.org Received: (qmail 10622 invoked from network); 12 Feb 2009 23:54:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2009 23:54:52 -0000 Received: (qmail 57219 invoked by uid 500); 12 Feb 2009 23:54:29 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 57165 invoked by uid 500); 12 Feb 2009 23:54:29 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Received: (qmail 57143 invoked by uid 99); 12 Feb 2009 23:54:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 15:54:29 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jdcryans@gmail.com designates 74.125.46.29 as permitted sender) Received: from [74.125.46.29] (HELO yw-out-2324.google.com) (74.125.46.29) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 23:54:21 +0000 Received: by yw-out-2324.google.com with SMTP id 2so513798ywt.29 for ; Thu, 12 Feb 2009 15:54:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=kQvgAm4tz+dpzZR+BDkK7eR+moHKut5BMdWzaE9eX7g=; b=RpP7Rk8CCmj1txEa+fMW1w6FOKyoMtxRT/cpadpbbvUH6Rtow37LhW5P6xY4AVyroP I1vSY25I+tnBi4lqyE0ffglvhMSpz+/M2vTP78iah2oAk2+dsYCsUNXhJz0i2Xzi+5S8 7RIFlRti4MddIY1gi39ZkWwe1RR6Q8sC49V4g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=Nf1Ok9h2A7siCCZ+Nj7dtDiOzreECM3kq0lnC9vPMM3m0DVjxnqAcP8koRR7GKKqok jVzZOYxMwoJRGhbnZcLAjunVisCZKn2h2yiHRxOfZHkTlSTEQVBJMJxs1hLboQ/SgR1e RSkFuaS6ysV/00a16fkV8BHkKIJRCWVQetDAE= MIME-Version: 1.0 Sender: jdcryans@gmail.com Received: by 10.150.138.1 with SMTP id l1mr1470214ybd.91.1234482840152; Thu, 12 Feb 2009 15:54:00 -0800 (PST) In-Reply-To: <20090212233222.41710@gmx.net> References: <20090212233222.41710@gmx.net> Date: Thu, 12 Feb 2009 18:54:00 -0500 X-Google-Sender-Auth: 39084391dbef1178 Message-ID: <31a243e70902121554v23bb1071kc520d13fedb48ace@mail.gmail.com> Subject: Re: Running RowCounter as Standalone From: Jean-Daniel Cryans To: core-user@hadoop.apache.org, "hbase-user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=000e0cd3107e2b298a0462c16fd6 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd3107e2b298a0462c16fd6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Philipp, For HBase-related questions, please post to hbase-user@hadoop.apache.org Try importing commons-cli-2.0-SNAPSHOT.jar as well as any other jar in the lib folder just to be sure you won't get any other missing class def error. J-D On Thu, Feb 12, 2009 at 6:32 PM, Philipp Dobrigkeit wro= te: > I am trying to run HBase as a Data Source for my Map/Reduce. > > I was able to use the "./bin/hadoop jar hbase.0.19.0.jar rowcounter outpu= t > test..." from the command line. > > But I would like to run it from my eclipse as well, so I can learn and > adapt it to my own Map/Reduce needs. I opened a new project, imported > hbase.0.19.0.jar, hadoop.0.19.0-core.jar (and the commons-logging) and no= w I > am trying to run the code of RowCounter. > > But I get the following error message: > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/commons/cli/ParseException > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:59) > at hbase.RowCounter.main(RowCounter.java:139) > Caused by: java.lang.ClassNotFoundException: > org.apache.commons.cli.ParseException > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > ... 2 more > > Any comments on what I can try to do? > > Best, > Philipp > -- > Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL > f=FCr nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=3DOM.AD.PD003K11308T456= 9a > --000e0cd3107e2b298a0462c16fd6--