hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dima Spivak <dspi...@cloudera.com>
Subject Re: Command to get HBase table owner
Date Wed, 08 Jun 2016 08:22:29 GMT
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
someone more seasoned than me can explain the justification…

Things like replication_scope can be seen by using ‘describe' from the
HBase shell. Other metadata (e.g. modified time) is not kept for HBase
tables as far as I’m aware.

-Dima

On Wed, Jun 8, 2016 at 12:44 AM, Dima Spivak <dspivak@cloudera.com> wrote:

> 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 <kumarccpp@gmail.com> wrote:
>
>> 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 hbase table.
>>
>> Thanks,
>> Kumar
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message