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
HBase >> mail # user >> '$HADOOP_HOME/bin/hadoop jar hbase.jar rowcount


Copy link to this message
-
Re: '$HADOOP_HOME/bin/hadoop jar hbase.jar rowcount
See http://hbase.apache.org/book.html#trouble.mapreduce.local for sample
command line.

Cheers
On Wed, Oct 30, 2013 at 3:36 AM, Sznajder ForMailingList <
[EMAIL PROTECTED]> wrote:

> Hi
>
> I tried to run the hadoop rowcount job
>
>
> First at all, I just notice that the command is rowcounter and not
> rowcount.
>
> secondly, I got the following error when running it:
>
> hadoop jar hbase-0.90.4.jar rowcounter ProcessedUrlsDataBase
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org.apache.zookeeper.ZooKeeper
>     at
>
> org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.addDependencyJars(TableMapReduceUtil.java:319)
>     at
>
> org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.initTableMapperJob(TableMapReduceUtil.java:109)
>     at
>
> org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.initTableMapperJob(TableMapReduceUtil.java:75)
>     at
>
> org.apache.hadoop.hbase.mapreduce.RowCounter.createSubmittableJob(RowCounter.java:113)
>     at
> org.apache.hadoop.hbase.mapreduce.RowCounter.main(RowCounter.java:133)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>     at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>     at java.lang.reflect.Method.invoke(Method.java:611)
>     at
>
> org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
>     at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
>     at org.apache.hadoop.hbase.mapreduce.Driver.main(Driver.java:49)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>     at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>     at java.lang.reflect.Method.invoke(Method.java:611)
>     at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.ZooKeeper
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:653)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
>
>
>
>
> Where should I define the used classpath?
>
> Benjamin
>
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