Re: How can I achieve HBase row level atomicity?

2016-11-02 Thread Ted Yu
Were you including code in the image (which didn't come through) ? MultiVersionConcurrencyControl is involved in answering your question. See http://hbase.apache.org/book.html#hregion.scans Cheers On Wed, Nov 2, 2016 at 10:57 AM, Manjeet Singh wrote: > Hi All > >

Re: HBase rest custom authentication

2016-11-02 Thread Jerry He
The reason your custom authentication does not work is probably due to HBASE-12231. It does not get invoked. The code snippet that Ted copied is inside "if keberos security". The AuthFilter itself can handle custom authentication class. But AuthFilter is not added in your case. Jerry On

How can I achieve HBase row level atomicity?

2016-11-02 Thread Manjeet Singh
Hi All I have ETL process for inserting data into hbase for this I have spark jobs which are responsible for reading data from kafka topics. so my question is if I have some rowkey already exist in hbase and I have 3 spark job running and they all try to update on same rowkey how hbase deal for

Re: HBase rest custom authentication

2016-11-02 Thread Ted Yu
>From RESTServer.java : if (conf.get(REST_AUTHENTICATION_TYPE) != null) { containerClass = RESTServletContainer.class; FilterHolder authFilter = new FilterHolder(); authFilter.setClassName(AuthFilter.class.getName());

HBase rest custom authentication

2016-11-02 Thread kumar r
I want to enable custom authentication for HBase rest server in a normal cluster (not secured) I have implemented custom authentication class by implementing Hadoop Authentication Handler I have set the property hbase.rest.authentication.type custom.class.name But still it didn't

Re: Default value of caching in Scanner

2016-11-02 Thread Sachin Jain
Thanks Yu!! This is very helpful. On Tue, Nov 1, 2016 at 2:45 PM, Yu Li wrote: > A brief answer yes, by default the caching size is Integer.MAX_VALUE now > and it's a big difference from 0.98. This is changed by HBASE-11544 and you > could find below statement on