Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3A69E200C31 for ; Wed, 8 Mar 2017 22:32:26 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3908F160B83; Wed, 8 Mar 2017 21:32:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5AC60160B73 for ; Wed, 8 Mar 2017 22:32:25 +0100 (CET) Received: (qmail 45037 invoked by uid 500); 8 Mar 2017 21:32:24 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 45024 invoked by uid 99); 8 Mar 2017 21:32:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2017 21:32:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 833461A0738 for ; Wed, 8 Mar 2017 21:32:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.398 X-Spam-Level: ** X-Spam-Status: No, score=2.398 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id lmlrD_Mi6AIJ for ; Wed, 8 Mar 2017 21:32:21 +0000 (UTC) Received: from mail-wr0-f175.google.com (mail-wr0-f175.google.com [209.85.128.175]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 3BB645F5FD for ; Wed, 8 Mar 2017 21:32:21 +0000 (UTC) Received: by mail-wr0-f175.google.com with SMTP id u108so32410237wrb.3 for ; Wed, 08 Mar 2017 13:32:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=yT2JMto+srhM/zK/FjNpJV/0FVhAC01UQF5S8BqWKYM=; b=UZtgLV1GYK/QPr8ecZUASlq37xKI/Ul+holSK7RQrRktNq7gpqNEaIR2RTB+i7UU2s TzH1KtOtocqhYOPBtP/JehHY2WWV5HtJWURdZnb1U/Da9pYbk86z75NqAks0lnCVgLfN QAVDuHeRQidowuzVHu1o/6GcvIYbMuDkhyc/2j4ZzdVH1a3E9cCJFbd2W75AVtzTgpNU It/Qf1UXP8fIIeg50ld+cMQ+9/lxcMB8zXsRNaWRXFguUMimPuSamqwRMT1AdeE7P9i7 RUAGZMEg/lndTopBIB3shkxNZbgo4ByOnJGUg/LxIQDOJ2JxZUFtVQXh3pucnGGiJbGS +JMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yT2JMto+srhM/zK/FjNpJV/0FVhAC01UQF5S8BqWKYM=; b=Lx3wZR4Ao6aBu3rsBGkteeUVTw7D0Ayrrbj/N2gYiumR9ilU5ABmpD2O7IV6SgxwEy FHQzg7aLVAlMZpF+LUoIg9F5H5pVLTd5iOiCIa/EaQIv5J035EpcOVl2/luu6ilLTb+D 25LHle9+ijobDJW/tN5RpcOt/9rH0C/mHhPcqjO2VCb/bJkX3dnQMujn2LLMpatUMX1G yTyz8tVPdjM9BmJgeN7ixIDTJCDyUFRmdFmHdb8EDAQYGTrrnbrgXdq6Wp9U7apv7k/n Nhd2T3YwYViSNmKj42nubKdQ1G+Ldt7noBOv5LkUhxmkIKDDZIclxRjhhoBet95oTrN3 MWVw== X-Gm-Message-State: AMke39kqmHGpsaeR2X+GUfFYy3rkdVOYbAt1dE9JVUxCcF2FquDqzEH88UE0Z6m4YTsCAf64U8zYBSBSyT76+Q== X-Received: by 10.223.183.46 with SMTP id l46mr5102837wre.89.1489008737594; Wed, 08 Mar 2017 13:32:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.37.199 with HTTP; Wed, 8 Mar 2017 13:32:17 -0800 (PST) From: Vladimir Rodionov Date: Wed, 8 Mar 2017 13:32:17 -0800 Message-ID: Subject: [VOTE] Backup/Restore feature for HBase 2.0, vote closing 3/11/2017 To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=f40304388cc8df3402054a3edc35 archived-at: Wed, 08 Mar 2017 21:32:26 -0000 --f40304388cc8df3402054a3edc35 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, HBase folks For your consideration today is Backup/Restore feature for Apache HBAse 2.0= . Backup code is available as a mega patch in HBASE-14123 (v61), applies cleanly to the current master, all test PASS, patch has no other issues. The patch has gone through numerous rounds of code reviews and has probably the most lengthy discussion thread on Apache JIRA (HBASE-14123) :) The work has been split into 3 phases (HBASE-14030, 14123, 14414) Two first are complete, third one is still in progress. *** Summary of work HBASE-14123 The new feature introduces new command-line extensions to the hbase command and, from the client side, is accessible through command-line only Operations: * Create full backup on a list of tables or backup set * Create incremental backup image for table list or backup set * Restore list of tables from a given backup image * Show current backup progress * Delete backup image and all related images * Show history of backups * Backup set operations: create backup set, add/remove table to/from backup set, etc In the current implementation, the feature is already usable, meaning that users can backup tables and restore them using provided command-line tools. Both: full and incremental backups are supported. This work is based on original work of IBM team (HBASE-7912). The full list of JIRAs included in this mega patch can be found in three umbrella JIRAs: HBASE-14030 (Phase 1), HBASE-14123 (Phase 2) and HBASE-14414 (Phase 3 - all resolved ones made it into the patch) *** What are the remaining work items All remaining items can be found in Phase 3 umbrella JIRA: HBASE-14414. They are split into 3 groups: BLOCKER, CRITICAL, MAJOR Only BLOCKERs and CRITICALs are guaranteed for HBase 2.0 release. ***** BLOCKER * HBASE-14417 Incremental backup and bulk loading ( Patch available) * HBASE-14135 HBase Backup/Restore Phase 3: Merge backup images * HBASE-14141 HBase Backup/Restore Phase 3: Filter WALs on backup to include only edits from backup tables (Patch available) * HBASE-17133 Backup documentation * HBASE-15227 Fault tolerance support ***** CRITICAL * HBASE-16465 Disable split/merges during backup We have umbrella JIRA (HBASE-14414) to track all the remaining work All the BLOCKER and CRITICAL JIRAs currently in open state will be implemented by 2.0 release time. Some MAJOR too, but it depends on resource availability The former development branch (HBASE-7912) is obsolete and will be closed/deleted after the merge. We want backup to be a GA feature in 2.0 We are going to support full backward compatibility for backup tool in 2.0 and onwards. **** Configuration Backup is disabled, by default. To enable it, the following configuration properties must be added to hbase-site.xml: hbase.backup.enable=3Dtrue hbase.master.logcleaner.plugins=3DYOUR_PLUGINS,org.apache.hadoop.hbase.back= up.master.BackupLogCleaner hbase.procedure.master.classes=3DYOUR_CLASSES,org.apache.hadoop.hbase.backu= p.master.LogRollMasterProcedureManager hbase.procedure.regionserver.classes=3DYOUR_CLASSES,org.apache.hadoop.hbase= .backup.regionserver.LogRollRegionServerProcedureManager I would like to thank IBM team and Jerry He for original work, Enis, Ted, Stack, Matteo, Jerry for time spent on code reviews Special thanks to Ted Yu for his co-development work. References: https://issues.apache.org/jira/browse/HBASE-7912 (original IBM, contains design doc) https://issues.apache.org/jira/browse/HBASE-14030 (Phase 1) https://issues.apache.org/jira/browse/HBASE-14123 (Phase 2) https://issues.apache.org/jira/browse/HBASE-14414 (Phase 3) Please vote +1/-1 by midnight Pacific Time (00:00 -0800 GMT) on March 11th =E2=80=8Bon whether or not we should merge this i= nto the current master. -Vladimir Rodionov --f40304388cc8df3402054a3edc35--