hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11869) Support snapshot owner
Date Thu, 02 Apr 2015 08:23:55 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14392369#comment-14392369
] 

Hudson commented on HBASE-11869:
--------------------------------

FAILURE: Integrated in HBase-1.1 #350 (See [https://builds.apache.org/job/HBase-1.1/350/])
HBASE-11869. Support snapshot owner (Liu Shaohui). (ddas: rev 926aaed11356922a481535a109626e3305a5630d)
* hbase-protocol/src/main/protobuf/HBase.proto
* hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
* hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotManager.java


> Support snapshot owner
> ----------------------
>
>                 Key: HBASE-11869
>                 URL: https://issues.apache.org/jira/browse/HBASE-11869
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Liu Shaohui
>            Assignee: Liu Shaohui
>            Priority: Minor
>             Fix For: 2.0.0, 1.1.0
>
>         Attachments: HBASE-11869-1.0-v1.diff, HBASE-11869-trunk-v1.diff, HBASE-11869-trunk-v3.diff,
HBASE-11869-trunk-v4.diff
>
>
> In current codebase, the table snapshot operations only can be done by the global admin
, not by  the table admin.
> There is a multi-tenant 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.
> According to [~mbertozzi]'s suggestion, we implement the snapshot owner feature.
> * The user with table admin permission can create snapshot and the owner of this snapshot
is this user.
> * The owner of snapshot can delete and restore the snapshot.
> * Only the user with global admin permission can clone a snapshot, for this operation
creates a new table.
>   



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message