Re: Coprocessor execution

2012-03-21 Thread shixing
Use org.apache.hadoop.hbase.coprocessor.AggregateImplementation 's getRowNum() or you wrote the Coprocessor yourself? If you wrote it, paste it~ On Wed, Mar 21, 2012 at 1:19 PM, raghavendhra rahul raghavendhrara...@gmail.com wrote: What is your CP doing? just rowcount only --

Re: Coprocessor execution

2012-03-21 Thread raghavendhra rahul
This is my coprocessor end point public class RowcountEndpoint extends BaseEndpointCoprocessor implements RowcountProtocol { @Override public long getRowcount() throws IOException { Scan scan = new Scan(); scan.setCaching(100); scan.setCacheBlocks(false);

Re: gc pause killing regionserver

2012-03-21 Thread Ferdy Galema
Sure: https://issues.apache.org/jira/browse/HBASE-5607 @Marcos: Thanks, that are useful links. On Tue, Mar 20, 2012 at 6:27 PM, Stack st...@duboce.net wrote: 2012/3/20 Ferdy Galema ferdy.gal...@kalooga.com: A nice solution server-side would be to dynamically adjust the scanner-caching

Re: gc pause killing regionserver

2012-03-21 Thread Michael Segel
Do you really need to go to 2048 or 4096 xcievers? Lars George just wrote a blog on it... its on the cloudera site. This formula is used to calculate the number of xcievers for HBase. Since this number is usually calculated when building a system, you're going to have to estimate this and

Re: HBase starting problem

2012-03-21 Thread Sonal Goyal
Hi Stijn, You seem to be hitting permission issues with /hbase Caused by: org.apache.zookeeper.KeeperException$InvalidACLException: KeeperErrorCode = InvalidACL for /hbase at org.apache.zookeeper.KeeperException.create(KeeperException.java:121) at

HBase status exception.

2012-03-21 Thread Manish Bhoge
I have set up HBase and zookeeper for standalone. When I start hbase shell it is starting HMaster gracefully. Even I do jps it shows me HMaster service. But when I check for status on hbase shell then it shows me following exception: Org.apache.hadoop.hbase.MasterNotRunningException:

Re: Coprocessor execution

2012-03-21 Thread Himanshu Vashishtha
Hello, Any info about specific numbers (number of regions vs response time, etc) will help. Btw, for rowcount, you should use FirstKeyOnlyFilter. And in your code, you should add a callback to sum individual Region side results (though that is not related to response time, but with your rowcount

Re: HBase status exception.

2012-03-21 Thread Stack
On Wed, Mar 21, 2012 at 8:51 AM, Manish Bhoge manishbh...@rocketmail.com wrote: I have set up HBase and zookeeper for standalone. When I start hbase shell it is starting HMaster gracefully. You are starting the shell? Have you started hbase before starting the shell? Sent from my

Re: HBase status exception.

2012-03-21 Thread Marcos Ortiz
What says your logs? Did you configure properly NTP and DNS in your server? Regards On 03/21/2012 10:51 AM, Manish Bhoge wrote: I have set up HBase and zookeeper for standalone. When I start hbase shell it is starting HMaster gracefully. Even I do jps it shows me HMaster service. But when I

Re: HBase status exception.

2012-03-21 Thread Manish Bhoge
Stack, Off course I have started hbase before I start shell. --Original Message-- From: Stack Sender: saint@gmail.com To: user@hbase.apache.org To: manishbh...@rocketmail.com Subject: Re: HBase status exception. Sent: Mar 21, 2012 9:37 PM On Wed, Mar 21, 2012 at 8:51 AM, Manish

Re: HBase status exception.

2012-03-21 Thread Manish Bhoge
Marcos, Can you please help me to understand the configuration where I need to do required set up for DNS and NTP? Sent from my BlackBerry, pls excuse typo -Original Message- From: Marcos Ortiz mlor...@uci.cu Date: Wed, 21 Mar 2012 11:07:28 To: user@hbase.apache.org Reply-To: