Re: Hbase ACL

2016-05-05 Thread Anoop John
>>One thing I don't understand - if I don't do the initial RW grant then userX will never be allowed to write to the table, Valid Q.. Came to my mind as well.. So the ans is the 1t write of the cell to be done with a user who is having permission. (super user?) While doing that write he has to give

Re: Hbase ACL

2016-05-05 Thread ramkrishna vasudevan
Thanks Anoop for pointing to the JIRA. >>One thing I don't understand - if I don't do the initial RW grant then userX will never be allowed to write to the table, Even if you don't set a grant permisison to a table for userX - you will be able to write and read to the table provided the cell to wh

Re: Hbase ACL

2016-05-05 Thread Anoop John
>>I am working on Hbase ACLs in order to lock a particular cell value for >>writes by a user for an indefinite amount of time. This same user will be >>writing to Hbase during normal program execution, and he needs to be able to >>continue to write to other cells during the single cell lock peri

Re: Hbase ACL

2016-05-05 Thread Anoop John
HBASE-11432 removed the cell first strategy -Anoop- On Thu, May 5, 2016 at 4:49 PM, Tokayer, Jason M. wrote: > Hi Ram, > > I very much appreciate the guidance. I should be able to run through the > gambit of tests via code this afternoon and will report back when I do. > > One thing I don't und

Re: Access cell tags from HBase shell

2016-05-05 Thread ramkrishna vasudevan
>>Then how can I revert them to a recognizable form? I think for that I don't think we have any APIs. May be for now you may have to parse the tag expression and map every oridinal to the visibility label string. Regards Ram On Thu, May 5, 2016 at 9:09 PM, wrote: > Yes, cell.getTagsLength is !=

Re: hbase doubts

2016-05-05 Thread Ted Yu
For #3, we already have the following in 1.1 release: HBASE-10201 Port 'Make flush decisions per column family' to trunk On Thu, May 5, 2016 at 6:36 PM, Shushant Arora wrote: > 1.Why is it better to have single file per region than multiple files for > read performance. Why can't multile thread

hbase doubts

2016-05-05 Thread Shushant Arora
1.Why is it better to have single file per region than multiple files for read performance. Why can't multile threads read multiple file and give better performance? 2Does hbase regionserver has single thread for compactions and split for all regions its holding? Why can't single thread per region

RE: Access cell tags from HBase shell

2016-05-05 Thread benedict.whittamsmith
Yes, cell.getTagsLength is != 0. Good. I’m running HBase locally in pseudo distributed mode so I only have one hbase-site.xml to edit (?). But I must force the issue in the java client by setting the configuration programmatically so: config.set("hbase.client.rpc.codec", "org.apache.hadoop.hba

RE: Hbase ACL

2016-05-05 Thread Tokayer, Jason M.
Hi Ram, I very much appreciate the guidance. I should be able to run through the gambit of tests via code this afternoon and will report back when I do. One thing I don't understand - if I don't do the initial RW grant then userX will never be allowed to write to the table, so I don't see how I

Re: Hbase ACL

2016-05-05 Thread ramkrishna vasudevan
I verified the above behaviour using test case as the cluster was busy with other activities. So in the above example that you mentioned, you had already issued RW access to user-X on the table. Then a specific cell is over written with R permission using the special 'grant' command. Now as per th