Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6F9951134D for ; Fri, 5 Sep 2014 21:55:29 +0000 (UTC) Received: (qmail 5626 invoked by uid 500); 5 Sep 2014 21:55:29 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 5572 invoked by uid 500); 5 Sep 2014 21:55:29 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 5558 invoked by uid 99); 5 Sep 2014 21:55:29 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2014 21:55:29 +0000 Date: Fri, 5 Sep 2014 21:55:29 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-11869) Support snapshot owner MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-11869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-11869: --------------------------- Hadoop Flags: Reviewed Integrated to master. Do you want this in 1.0 [~enis] ? > 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 > > Attachments: 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)