Rows count

2012-06-24 Thread Jean-Marc Spaggiari
Hi, In HBASE-1512 (https://issues.apache.org/jira/browse/HBASE-1512) there is the implementation of co-processor for count and others. Is there anywhere an example of the way to use them? Because the shell count is very slow with there is to many rows. Thanks, JM

Re:: Rows count

2012-06-24 Thread Dhaval Shah
Instead of the shell rowcount you can use the MR job for rowcount.. something like hadoop jar path_to_hbase.jar rowcount your_table The MR job is much faster than the shell -- On Mon 25 Jun, 2012 4:52 AM IST Jean-Marc Spaggiari wrote: >Hi, > >In HBASE-1512 (https:/

Re: : Rows count

2012-06-24 Thread Jean-Marc Spaggiari
Seems that I'm missing something. I'm running HBase and Hadoop separatly. How can I give to Hadoop the HBase jars? I'm not sure about the right way to do it... hadoop@latitude:~/hadoop-1.0.3$ ./bin/hadoop jar /home/hbase/hbase-0.94.0/hbase-0.94.0.jar rowcount test3 Exception in thread "main" java.

Re: : Rows count

2012-06-24 Thread Jean-Marc Spaggiari
Ok. I just found. I had to copy "protobuf-java-2.4.0a.jar", "zookeeper-3.4.3.jar" and "guava-r09.jar" from HBase and ZooKeeper and I had to change "rowcount" by "rowcounter". But it's still not working because I don't have any DNS, I have all the servers in the hosts file and the MR is looking fo

Re: Rows count

2012-06-25 Thread Stack
On Sun, Jun 24, 2012 at 11:22 PM, Jean-Marc Spaggiari wrote: > Hi, > > In HBASE-1512 (https://issues.apache.org/jira/browse/HBASE-1512) there > is the implementation of co-processor for count and others. > > Is there anywhere an example of the way to use them? Because the shell > count is very slo