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 005E010AD1 for ; Mon, 10 Mar 2014 08:47:46 +0000 (UTC) Received: (qmail 4354 invoked by uid 500); 10 Mar 2014 08:47:45 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 4110 invoked by uid 500); 10 Mar 2014 08:47:44 -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 4092 invoked by uid 99); 10 Mar 2014 08:47:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2014 08:47:43 +0000 Date: Mon, 10 Mar 2014 08:47:43 +0000 (UTC) From: "Rekha Joshi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HBASE-10711) Savepoint, Rollback features on Hbase Shell and API 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-10711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rekha Joshi reassigned HBASE-10711: ----------------------------------- Assignee: Rekha Joshi > Savepoint, Rollback features on Hbase Shell and API > --------------------------------------------------- > > Key: HBASE-10711 > URL: https://issues.apache.org/jira/browse/HBASE-10711 > Project: HBase > Issue Type: New Feature > Components: Admin, shell > Affects Versions: 0.94.17 > Reporter: Rekha Joshi > Assignee: Rekha Joshi > > In parallel to SQLWorld, Hbase needs to have easy feature to savepoint/rollback/commit. > This functionality can help retrieve table state before a set of commands are executed.Especially if one inadvertently drops a table, rollback is a lifesaver. > SAVEPOINT < savepoint_name >; > ROLLBACK [TO SAVEPOINT < savepoint_name>]; > COMMIT; > This internally will take a snapshot of table(s) when a command 'savepoint' is executed on hbase shell/api.Each savepoint takes the snapshot , and stores the map with savepoint id to snapshot taken.Will need a retrieval from the last-est savepoint id. > Given that it might take some time, this savepoint is the users option if one is into too many operations and one operation goes wrong, they can still start from save point.For better perf, it would be nice to provide command set tables 'a','b','c' and the savepoint command then takes the snapshots of only those tables rather than all. > Maybe i am a burnt child dreading the fire, but thoughts? -- This message was sent by Atlassian JIRA (v6.2#6252)