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 2B286D9ED for ; Sat, 7 Jul 2012 20:05:36 +0000 (UTC) Received: (qmail 49483 invoked by uid 500); 7 Jul 2012 20:05:36 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 49455 invoked by uid 500); 7 Jul 2012 20:05:36 -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 49443 invoked by uid 99); 7 Jul 2012 20:05:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jul 2012 20:05:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 8A017142851 for ; Sat, 7 Jul 2012 20:05:35 +0000 (UTC) Date: Sat, 7 Jul 2012 20:05:35 +0000 (UTC) From: "Matteo Bertozzi (JIRA)" To: issues@hbase.apache.org Message-ID: <891452752.19208.1341691535567.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1265806586.26078.1340044302871.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6233) [brainstorm] snapshots: hardlink alternatives 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-6233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408763#comment-13408763 ] Matteo Bertozzi commented on HBASE-6233: ---------------------------------------- {quote} > [brainstorm] snapshots: hardlink alternatives > --------------------------------------------- > > Key: HBASE-6233 > URL: https://issues.apache.org/jira/browse/HBASE-6233 > Project: HBase > Issue Type: Brainstorming > Reporter: Matteo Bertozzi > Assignee: Matteo Bertozzi > Attachments: Restore-Snapshot-Hardlink-alternatives.pdf > > > Discussion ticket around snapshots and hardlink alternatives. > (See the HDFS-3370 discussion about hardlink and implementation problems) > (taking for a moment WAL out of the discussion and focusing on hfiles) > With hardlinks available taking snapshot will be fairly easy: > * (hfiles are immutable) > * hardlink to .snapshot/name to take snapshot > * hardlink from .snapshot/name to restore the snapshot > * No code change needed (on fs.delete() only one reference is deleted) > but we don't have hardlinks, what are the alternatives? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira