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 6AB1518F4E for ; Tue, 25 Aug 2015 23:04:46 +0000 (UTC) Received: (qmail 94554 invoked by uid 500); 25 Aug 2015 23:04:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 94497 invoked by uid 500); 25 Aug 2015 23:04:46 -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 94472 invoked by uid 99); 25 Aug 2015 23:04:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2015 23:04:46 +0000 Date: Tue, 25 Aug 2015 23:04:46 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14302) TableSnapshotInputFormat should not create back references when restoring snapshot 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-14302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14712144#comment-14712144 ] Hudson commented on HBASE-14302: -------------------------------- FAILURE: Integrated in HBase-TRUNK #6755 (See [https://builds.apache.org/job/HBase-TRUNK/6755/]) HBASE-14302 TableSnapshotInputFormat should not create back references when restoring snapshot (enis: rev 44caba31e4f259ea82d5141d2ba40a6d98f14f61) * hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormatTestBase.java * hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestTableSnapshotInputFormat.java * hbase-server/src/main/java/org/apache/hadoop/hbase/io/HFileLink.java * hbase-server/src/main/java/org/apache/hadoop/hbase/util/ModifyRegionUtils.java * hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/RestoreSnapshotHelper.java * hbase-server/src/test/java/org/apache/hadoop/hbase/mapred/TestTableSnapshotInputFormat.java > TableSnapshotInputFormat should not create back references when restoring snapshot > ---------------------------------------------------------------------------------- > > Key: HBASE-14302 > URL: https://issues.apache.org/jira/browse/HBASE-14302 > Project: HBase > Issue Type: Bug > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Fix For: 2.0.0, 1.0.2, 1.2.0, 1.3.0, 1.1.3 > > Attachments: hbase-14302_v1.patch > > > TableSnapshotInputFormat restores the snapshot to a temporary directory that is outside the HBase's root directory so that it can read from the restored snapshot and also refer to hfiles in the actual root directory. > In restoring the snapshot, we create new hfilelinks in the ephemeral location. Creating new hfile links also creates "back references" for GC. These back references are dangling since the restore location is outside the root dir, and requires a WRITE permission to the root dir (as opposed to just READ permission) to be able to run the MR-over-snapshot job. -- This message was sent by Atlassian JIRA (v6.3.4#6332)