Running prefix scans in hbase

2013-05-15 Thread Varun Sharma
Hi, I was looking at PrefixFilter but going by the implementation - it looks we scan every row until we hit the prefix instead of seeking to the row with the required prefix. I was wondering if there are more efficient alternatives which would do a real seek rather than scanning all rows. Would

Re: Running prefix scans in hbase

2013-05-15 Thread Stack
On Tue, May 14, 2013 at 11:33 PM, Varun Sharma va...@pinterest.com wrote: Hi, I was looking at PrefixFilter but going by the implementation - it looks we scan every row until we hit the prefix instead of seeking to the row with the required prefix. I was wondering if there are more

Re: HBase Support

2013-05-15 Thread Raju muddana
Hai shashwat, Thank you for your Supporting. I have made the Modifications Which you said to me. But Still i am facing (Client Session Timeout) INFO zookeeper.ClientCnxn: Client session timed out, have not heard from server in 3401ms for sessionid 0x13ea2defe7f0004 .. .. What to do,Help me.

Re: Running prefix scans in hbase

2013-05-15 Thread Stack
On Tue, May 14, 2013 at 11:33 PM, Varun Sharma va...@pinterest.com wrote: Hi, I was looking at PrefixFilter but going by the implementation - it looks we scan every row until we hit the prefix instead of seeking to the row with the required prefix. I was wondering if there are more

Re: Running prefix scans in hbase

2013-05-15 Thread Varun Sharma
Not after but only before hitting the prefix - I will check the startRow stuff - I could not find where the seek happens for that... On Wed, May 15, 2013 at 7:51 AM, Stack st...@duboce.net wrote: On Tue, May 14, 2013 at 11:33 PM, Varun Sharma va...@pinterest.com wrote: Hi, I was

Re: checkAnd...

2013-05-15 Thread Lior Schachter
yes, I believe this will cover most of the use-cases. Lior On Tue, May 14, 2013 at 9:25 PM, Mike Spreitzer mspre...@us.ibm.com wrote: Why not go whole hog and create checkAndMultiMutate (for all varieties of mutation) (all on the same row)? Thanks, Mike From: Lior Schachter

Problem with Snapshots

2013-05-15 Thread Ameya Kantikar
HI, I just upgraded Hbase to 0.94.2-cdh4.2.1, r I also enabled snapshot in hbase-site.xml file on all master + RS machines to: namehbase.snapshot.enabled/name valuetrue/value But when I go to hbase shell, I can not find snapshotting related commands. eg. hbase list_snapshots NameError:

Re: Problem with Snapshots

2013-05-15 Thread Jean-Marc Spaggiari
Hi Ameya, Can you login into the hbase shell and user the version command to make sure which version you are currently running? Thanks, JM 2013/5/15 Ameya Kantikar am...@groupon.com HI, I just upgraded Hbase to 0.94.2-cdh4.2.1, r I also enabled snapshot in hbase-site.xml file on all

Re: Problem with Snapshots

2013-05-15 Thread Ted Yu
Can you search for list_snapshots.rb in your installation ? Cheers On Wed, May 15, 2013 at 11:07 AM, Ameya Kantikar am...@groupon.com wrote: HI, I just upgraded Hbase to 0.94.2-cdh4.2.1, r I also enabled snapshot in hbase-site.xml file on all master + RS machines to:

What happens when you add new HBase nodes to a cluster?

2013-05-15 Thread jeremy p
Hey all, We're wanting to add 10 additional nodes to our 20-node HBase cluster. Our tables are pre-split into 800 regions, 40 regions to a machine. What will happen when we add 10 new nodes to the cluster? Will the HBase load balancer automatically re-distribute these regions to the new nodes?

Re: What happens when you add new HBase nodes to a cluster?

2013-05-15 Thread Bryan Beaudreault
Yes, the if the balancer is enabled (balance_switch true), hbase will automatically balance the tables across the new pool of region servers. At this point your locality will be shot for those regions that have moved, so I recommend running major compactions. If your total number of regions is

RE: What happens when you add new HBase nodes to a cluster?

2013-05-15 Thread Agarwal, Saurabh
That is what my experience is. When we add nodes, the regions get rebalanced across the old and new nodes.. -Original Message- From: jeremy p [mailto:athomewithagroove...@gmail.com] Sent: Wednesday, May 15, 2013 2:26 PM To: user@hbase.apache.org Subject: What happens when you add

Re: What happens when you add new HBase nodes to a cluster?

2013-05-15 Thread jeremy p
Thank you all! That answers my question. Any other advice for adding nodes? --Jeremy On Wed, May 15, 2013 at 11:43 AM, Agarwal, Saurabh saurabh.agar...@citi.com wrote: That is what my experience is. When we add nodes, the regions get rebalanced across the old and new nodes..

RE: checkAnd...

2013-05-15 Thread Liu, Raymond
How about this one : https://issues.apache.org/jira/browse/HBASE-8542 Best Regards, Raymond Liu -Original Message- From: Lior Schachter [mailto:lior...@gmail.com] Sent: Thursday, May 16, 2013 1:18 AM To: user Subject: Re: checkAnd... yes, I believe this will cover most of the