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 D467D200C4D for ; Wed, 5 Apr 2017 20:01:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D3025160B9E; Wed, 5 Apr 2017 18:01:45 +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 26CA4160B76 for ; Wed, 5 Apr 2017 20:01:45 +0200 (CEST) Received: (qmail 21006 invoked by uid 500); 5 Apr 2017 18:01: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 20995 invoked by uid 99); 5 Apr 2017 18:01:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2017 18:01:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E70191813A9 for ; Wed, 5 Apr 2017 18:01:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id TKhGxcPBzlT5 for ; Wed, 5 Apr 2017 18:01:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E6F235FBC1 for ; Wed, 5 Apr 2017 18:01:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 81A9CE0D34 for ; Wed, 5 Apr 2017 18:01:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id D6949263C7 for ; Wed, 5 Apr 2017 18:01:41 +0000 (UTC) Date: Wed, 5 Apr 2017 18:01:41 +0000 (UTC) From: "Vladimir Rodionov (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-14141) HBase Backup/Restore Phase 3: Filter WALs on backup to include only edits from backed up tables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 05 Apr 2017 18:01:46 -0000 [ https://issues.apache.org/jira/browse/HBASE-14141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Rodionov updated HBASE-14141: -------------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > HBase Backup/Restore Phase 3: Filter WALs on backup to include only edits from backed up tables > ----------------------------------------------------------------------------------------------- > > Key: HBASE-14141 > URL: https://issues.apache.org/jira/browse/HBASE-14141 > Project: HBase > Issue Type: New Feature > Reporter: Vladimir Rodionov > Assignee: Vladimir Rodionov > Priority: Blocker > Labels: backup > Fix For: 2.0.0 > > Attachments: HBASE-14141.HBASE-14123.v1.patch, HBASE-14141.v1.patch, HBASE-14141.v2.patch, HBASE-14141.v4.patch, HBASE-14141.v5.patch, HBASE-14141.v6.patch > > > h2. High level design overview > * When incremental backup request comes for tables {t} we select all the tables already registered in a backup system - {T} and union them with {t}, which results in a new table set - U(t, T) > * For every table K from U(t,T) we perform the following: > ** Convert new WAL files into HFile applying table filter K (only edits for table T will pass the filter) > ** Move these HFile(s) to backup destination > During restore (incremental): > * We run full restore first > * Then collect all HFiles from intermediate incremental images and run them through HFileSplitterJob, which splits files into a current tables region boundaries > * Load these files using LoadIncrementalHFiles tool > -- This message was sent by Atlassian JIRA (v6.3.15#6346)