hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liushaohui <liushao...@xiaomi.com>
Subject Re: Permission about table snapshot operations
Date Mon, 01 Sep 2014 12:45:51 GMT
Thanks to Matteo's suggestion.

We implement the snapshot owner feature and submit a patch in

https://issues.apache.org/jira/browse/HBASE-11869

Could someone help to review it? Thanks

-Shaohui Liu@xiaomi


On 08/15/2014 09:16 PM, Matteo Bertozzi wrote:
> I'm +1 to change preSnapshot() to allow global admin and table admin.
> but unless you add a "owner" to the SnapshotDescriptor, only a global admin
> can perform restore, clone or delete.
>
> Matteo
>
>
>
> On Fri, Aug 15, 2014 at 10:02 AM, liushaohui <liushaohui@xiaomi.com> wrote:
>
>> hi all:
>>
>> In current codebase, the table snapshot operations only can be done by the
>> global admin ,
>> not by  the table admin. Please see:AccessController.java# 1175.
>>
>> Is there any special purposes to limit the table admin to do snapshot
>> operations?
>>
>> Here is our scenario:
>>
>> There is a big share hbase cluster.
>> Each table has different snapshot policies, eg: do snapshot per week, or
>> snapshot after the new data are imported.
>> We want to release the snapshot permission to each table admin.
>>
>> Suggestions and discussions are welcomed.
>>
>> Thanks
>>
>> -Shaohui Liu from xiaomi.com
>>
>>


Mime
View raw message