Re: Writing visibility labels with HFileOutputFormat2

2016-06-08 Thread Anoop John
Thanks Ram.. Ya that seems the best way as CellCreator is public exposed class. May be we should explain abt this in hbase book under the Visibility labels area. Good to know you have Visibility labels based usecase. Let us know in case of any trouble. Thanks. -Anoop- On Wed, Jun 8, 2016 at

Re: Command to get HBase table owner

2016-06-08 Thread kumar r
Hi Dima, Thanks for the information. On Wed, Jun 8, 2016 at 1:52 PM, Dima Spivak wrote: > Oops, spoke too soon. Looks like owner was deprecated back in HBASE-6188, > but is still sticking around (e.g. you can get it from HTableDescriptor > with getOwnerString and we even

Re: Command to get HBase table owner

2016-06-08 Thread Dima Spivak
Oops, spoke too soon. Looks like owner was deprecated back in HBASE-6188, but is still sticking around (e.g. you can get it from HTableDescriptor with getOwnerString and we even updated our TestAccessController to include it). Not sure why it remains deprecated after all this time, so maybe

Re: Writing visibility labels with HFileOutputFormat2

2016-06-08 Thread ramkrishna vasudevan
Hi It can be done. See the class CellCreator which is Public facing interface. When you create your spark job to create the hadoop files that produces the HFileOutputformat2 data. While creating the KeyValues you can use the CellCreator to create your KeyValues and use the

Re: Command to get HBase table owner

2016-06-08 Thread kumar r
Hi, I am using HBase version 1.1.3. Can we get owner details through hbase command or we can get only with java api? Thanks, Kumar On Wed, Jun 8, 2016 at 1:14 PM, Dima Spivak wrote: > Hi Kumar, > > Which version of HBase do you run? Recent releases have moved to ACLs for

Re: Command to get HBase table owner

2016-06-08 Thread Dima Spivak
Hi Kumar, Which version of HBase do you run? Recent releases have moved to ACLs for table permissions in place of an "owner" construct. -Dima On Wednesday, June 8, 2016, kumar r wrote: > Hi, > > Is there any command to get complete description about hbase table such as >

Command to get HBase table owner

2016-06-08 Thread kumar r
Hi, Is there any command to get complete description about hbase table such as owner, database, modified time, etc. In hive, i can get those information using desc formatted tablename; But in hbase desc 'tablename' shows size, version, replication_scope, etc. I want to get owner details of