You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by liushaohui <li...@xiaomi.com> on 2014/09/01 14:45:51 UTC

Re: Permission about table snapshot operations

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 <li...@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
>>
>>