Re: Hbase tenant based data isolation

2015-12-04 Thread Ted Yu
Have you looked at HBASE-6721 ? > On Dec 4, 2015, at 12:08 AM, manohar mc wrote: > > Hi All, > We are using hbase to store data on different customers. As part of > design one of the key goal is to segregate data of each customers. > I came across namespace but

Hbase tenant based data isolation

2015-12-04 Thread manohar mc
Hi All,       We are using hbase to store data on different customers. As part of design one of the key goal is to segregate data of each customers.  I came across namespace but it looks like namespace do not guarantee data segregation/isolation and i also saw the link 

Re: Slow response on HBase REST api using globbing option

2015-12-04 Thread Ted Yu
Created HBASE-14928 and attached patch there. FYI On Thu, Dec 3, 2015 at 9:05 PM, Ted Yu wrote: > Thanks for the response, Jerry. > > I created a patch: > > http://pastebin.com/xisGVHt8 > > All REST tests passed. > > I know Ben logged a JIRA on this subject already. > Not

HTableDescriptor.hasFamily not working as expected

2015-12-04 Thread Mehdi Ben Haj Abbes
Hi folks, I'm new to HBase client java API and using 0.98.4-hadoop2 version. I need to check if a column family does exit even if it does not have any rows in it. The problem is that HTableDescriptor.hasFamily returns false for an empty column family so if I try to create it I will have an

Re: unsubscribe me please from this mailing list

2015-12-04 Thread Jean-Marc Spaggiari
Hi all, The same way you susbscribed on your own, you will have to un-subscribe on your own too... https://hbase.apache.org/mail-lists.html JMS 2015-12-04 5:56 GMT-05:00 Dinu Sweet : > Thanks for the information provided so far. > Please unsubscribe me too from this

RE: Slow response on HBase REST api using globbing option

2015-12-04 Thread Sutton, Ben
Thanks Jerry - thought it may have been a change in how the Rest gateway scans. Ben -Original Message- From: Jerry He [mailto:jerry...@gmail.com] Sent: 04 December 2015 04:16 To: user@hbase.apache.org Subject: Re: Slow response on HBase REST api using globbing option From HBase 0.98,

Re: HTableDescriptor.hasFamily not working as expected

2015-12-04 Thread Mehdi Ben Haj Abbes
Thanks Ted for your answer. This what I'm doing : catching the exception, but before I'm setting hbase.client.retries.number to 3 rather than the default value of 35 otherwise my job will hang for few minutes. Is there no other way to make the check. Best regards, On Fri, Dec 4, 2015 at 4:35

Re: HTableDescriptor.hasFamily not working as expected

2015-12-04 Thread Ted Yu
A column family is supposed to receive (some) writes. Maybe you can give us more context on why the check for column family is needed. Do you try to alter table (and adding column family) when a particular column family doesn't exist ? Cheers On Fri, Dec 4, 2015 at 7:51 AM, Mehdi Ben Haj Abbes

Re: Count rows in HBase based on partial rowkeys

2015-12-04 Thread Ted Yu
Looks like the row key prefix has fixed length (40 characters). Please take a look at FuzzyRowFilter Example can be found in: hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFuzzyRowFilter.java Cheers On Fri, Dec 4, 2015 at 1:10 PM, Arun Patel wrote:

Count rows in HBase based on partial rowkeys

2015-12-04 Thread Arun Patel
I am storing multiple applications (APP1 and APP2) data in same table as shown below. Sample rowkeys are APP1 and APP2 are fd26420829cf4286949f77521019473d0e7e0f06-APP1-docid1 7446eabb0cf2bc9f5f7c4fa0d9d3dfcdef4bb198-APP1-docid2 45c6ed2b4879338a4b40c3f0f82fb0765b5eeb1c-APP2-mydoc1

Re: Count rows in HBase based on partial rowkeys

2015-12-04 Thread Arun Patel
Thanks Ted. Any easy way to this through command line? or may be through JRuby? On Fri, Dec 4, 2015 at 4:16 PM, Ted Yu wrote: > Looks like the row key prefix has fixed length (40 characters). > > Please take a look at FuzzyRowFilter > > Example can be found in: > >

can my old hbase client use new hbase version?

2015-12-04 Thread Li Li
I want to set up a hbase cluster. I found the latest stable release is 1.1.2. But I have some old client codes writen with hbase 0.98. I don't want to rewrite them. is it possible to use 0.98 client codes to interact with 1.1.2 version server?