Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 40181 invoked from network); 24 Sep 2009 03:43:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Sep 2009 03:43:38 -0000 Received: (qmail 43453 invoked by uid 500); 24 Sep 2009 03:43:38 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 43392 invoked by uid 500); 24 Sep 2009 03:43:38 -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 43380 invoked by uid 99); 24 Sep 2009 03:43:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 03:43:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 03:43:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2301A234C004 for ; Wed, 23 Sep 2009 20:43:16 -0700 (PDT) Message-ID: <172419995.1253763796128.JavaMail.jira@brutus> Date: Wed, 23 Sep 2009 20:43:16 -0700 (PDT) From: "Nigel Daley (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-245) Create symbolic links in HDFS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758995#action_12758995 ] Nigel Daley commented on HDFS-245: ---------------------------------- Thanks Eli. The design states: {quote} Loops should be avoided by having the client limit the number of links it will traverse {quote} What about loops within a filesystem? Does the NN also limit the number of links it will traverse? You give examples of commands the operate on the link and examples that operate on the link target and examples of those that depend on a trailing slash. Given this is a design, can you be explicitly and enumerate the commands for each of there? For instance, setReplication, setTimes, du, etc. What is the new options for fsck to report dangling links? What does the output look like? What is the new option for distcp to follow symlinks? If distcp doesn't follow symlinks, I assume it just copies the symlink. In this case, is the symlink adjusted to point to the source location on the source FS? What does the ls output look like for a symlink? Do symlinks contribute bytes toward a quota? > Create symbolic links in HDFS > ----------------------------- > > Key: HDFS-245 > URL: https://issues.apache.org/jira/browse/HDFS-245 > Project: Hadoop HDFS > Issue Type: New Feature > Reporter: dhruba borthakur > Assignee: dhruba borthakur > Attachments: 4044_20081030spi.java, designdocv1.txt, HADOOP-4044-strawman.patch, symlink-0.20.0.patch, symLink1.patch, symLink1.patch, symLink11.patch, symLink12.patch, symLink13.patch, symLink14.patch, symLink15.txt, symLink15.txt, symlink16-common.patch, symlink16-hdfs.patch, symlink16-mr.patch, symLink4.patch, symLink5.patch, symLink6.patch, symLink8.patch, symLink9.patch > > > HDFS should support symbolic links. A symbolic link is a special type of file that contains a reference to another file or directory in the form of an absolute or relative path and that affects pathname resolution. Programs which read or write to files named by a symbolic link will behave as if operating directly on the target file. However, archiving utilities can handle symbolic links specially and manipulate them directly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.