hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Bertozzi <theo.berto...@gmail.com>
Subject Re: Permission about table snapshot operations
Date Fri, 15 Aug 2014 13:16:32 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message