Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 63370 invoked from network); 1 Feb 2010 23:32:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2010 23:32:43 -0000 Received: (qmail 61244 invoked by uid 500); 1 Feb 2010 23:32:43 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 61192 invoked by uid 500); 1 Feb 2010 23:32:43 -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 61182 invoked by uid 99); 1 Feb 2010 23:32:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 23:32:43 +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; Mon, 01 Feb 2010 23:32:40 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4741529A0036 for ; Mon, 1 Feb 2010 15:32:19 -0800 (PST) Message-ID: <1735707584.10881265067139290.JavaMail.jira@brutus.apache.org> Date: Mon, 1 Feb 2010 23:32:19 +0000 (UTC) From: "Hairong Kuang (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: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-245?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D128283= 32#action_12828332 ]=20 Hairong Kuang commented on HDFS-245: ------------------------------------ Eli, great work! A couple of more comments: 1. INodeSymlink extends INodeFile in your patch. Should it extend INode? 2. Should FSDirectory#mkdirs, rootDir.getExistingPathINodes(components, ino= des, true) be rootDir.getExistingPathINodes(components, inodes, false)? Mkd= irs does not need to resolve the symlink of the last component. 3. Your document does not discuss the symlink resolution of concat, setQuot= o, and getContentSummary etc. Could you please add them? > 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: Eli Collins > Attachments: 4044_20081030spi.java, designdocv1.txt, designdocv2.= txt, designdocv3.txt, HADOOP-4044-strawman.patch, symlink-0.20.0.patch, sym= link-25-hdfs.patch, symlink-26-hdfs.patch, symlink-26-hdfs.patch, symLink1.= patch, symLink1.patch, symLink11.patch, symLink12.patch, symLink13.patch, s= ymLink14.patch, symLink15.txt, symLink15.txt, symlink16-common.patch, symli= nk16-hdfs.patch, symlink16-mr.patch, symlink17-common.txt, symlink17-hdfs.t= xt, symlink18-common.txt, symlink19-common-delta.patch, symlink19-common.tx= t, symlink19-common.txt, symlink19-hdfs-delta.patch, symlink19-hdfs.txt, sy= mlink20-common.patch, symlink20-hdfs.patch, symlink21-common.patch, symlink= 21-hdfs.patch, symlink22-common.patch, symlink22-hdfs.patch, symlink23-comm= on.patch, symlink23-hdfs.patch, symlink24-hdfs.patch, symlink27-hdfs.patch,= symlink28-hdfs.patch, symlink29-hdfs.patch, symlink29-hdfs.patch, symlink3= 0-hdfs.patch, symlink31-hdfs.patch, symlink33-hdfs.patch, symlink35-hdfs.pa= tch, symLink4.patch, symLink5.patch, symLink6.patch, symLink8.patch, symLin= k9.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 op= erating directly on the target file. However, archiving utilities can handl= e symbolic links specially and manipulate them directly. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.