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 E8C7610EF3 for ; Wed, 24 Dec 2014 13:10:13 +0000 (UTC) Received: (qmail 16288 invoked by uid 500); 24 Dec 2014 13:10:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 16241 invoked by uid 500); 24 Dec 2014 13:10:13 -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 16228 invoked by uid 99); 24 Dec 2014 13:10:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Dec 2014 13:10:13 +0000 Date: Wed, 24 Dec 2014 13:10:13 +0000 (UTC) From: "Jonathan Hsieh (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-12749) Tighten HFileLink api to enable non-snapshot uses 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-12749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Hsieh updated HBASE-12749: ----------------------------------- Resolution: Fixed Fix Version/s: 1.1.0 2.0.0 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Thanks matteo. commited to master and branch-1 > Tighten HFileLink api to enable non-snapshot uses > ------------------------------------------------- > > Key: HBASE-12749 > URL: https://issues.apache.org/jira/browse/HBASE-12749 > Project: HBase > Issue Type: Bug > Components: snapshots > Affects Versions: 2.0.0, 1.1.0 > Reporter: Jonathan Hsieh > Assignee: Jonathan Hsieh > Fix For: 2.0.0, 1.1.0 > > Attachments: hbase-12749.patch, hbase-12749.v2.patch, hbase-12749.v3.patch, hbase-12749.v4.patch > > > In HBASE-12332 we'd like to use the FileLink's IO redirecting powers but want to be able to specify arbitrary alternate link paths and not be tied to the SnapshotFileLink file pattern (aka, table=region-hfile). > To do this we need change the constructors and some internals so that it is more generic. Along the way, we remove the FileStatus constructor arguments in favor of Path's and reduce the number of ways to create HFileLinks, and tighten up the scope privacy of many methods. -- This message was sent by Atlassian JIRA (v6.3.4#6332)