Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D7A29EE4 for ; Sat, 2 Jun 2012 13:05:24 +0000 (UTC) Received: (qmail 70940 invoked by uid 500); 2 Jun 2012 13:05:23 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 70912 invoked by uid 500); 2 Jun 2012 13:05:23 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 70899 invoked by uid 99); 2 Jun 2012 13:05:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jun 2012 13:05:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 2720114285B for ; Sat, 2 Jun 2012 13:05:23 +0000 (UTC) Date: Sat, 2 Jun 2012 13:05:23 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1150829688.30318.1338642323162.JavaMail.jiratomcat@issues-vm> In-Reply-To: <2068361121.27846.1336151688971.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-3370) HDFS hardlink 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/HDFS-3370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287931#comment-13287931 ] Lars Hofhansl commented on HDFS-3370: ------------------------------------- @M.C. Srivas: Isn't that the same for any file? A rename of a file renames one of its references. I don't understand how the fact that the file has more references has any impact on that. Hardlinks are incredibly useful for applications like HBase, where an immutable HFile could just be mapped to another directory (not just for backup purposes). > HDFS hardlink > ------------- > > Key: HDFS-3370 > URL: https://issues.apache.org/jira/browse/HDFS-3370 > Project: Hadoop HDFS > Issue Type: New Feature > Reporter: Hairong Kuang > Assignee: Liyin Tang > Attachments: HDFS-HardLink.pdf > > > We'd like to add a new feature hardlink to HDFS that allows harlinked files to share data without copying. Currently we will support hardlinking only closed files, but it could be extended to unclosed files as well. > Among many potential use cases of the feature, the following two are primarily used in facebook: > 1. This provides a lightweight way for applications like hbase to create a snapshot; > 2. This also allows an application like Hive to move a table to a different directory without breaking current running hive queries. -- 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