hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: Running RowCounter as Standalone
Date Thu, 12 Feb 2009 23:54:00 GMT
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 <PDobrigkeit@gmx.de>wrote:

> 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 output
> 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 now 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ür nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message