Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 95599 invoked from network); 19 Feb 2010 17:28:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Feb 2010 17:28:51 -0000 Received: (qmail 84630 invoked by uid 500); 19 Feb 2010 17:28:51 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 84593 invoked by uid 500); 19 Feb 2010 17:28:51 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 84583 invoked by uid 99); 19 Feb 2010 17:28:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 17:28:51 +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; Fri, 19 Feb 2010 17:28:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0CB2929A0033 for ; Fri, 19 Feb 2010 09:28:28 -0800 (PST) Message-ID: <1123535141.392491266600508050.JavaMail.jira@brutus.apache.org> Date: Fri, 19 Feb 2010 17:28:28 +0000 (UTC) From: "Sanjay Radia (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6421) Symbolic links In-Reply-To: <789869504.1260323298357.JavaMail.jira@brutus> 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/HADOOP-6421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835839#action_12835839 ] Sanjay Radia commented on HADOOP-6421: -------------------------------------- I missed that this breaks compatibility in a subtle way: Negation of FileStatus#isDir() is normally used to see if the target is a file. This will now break if the target happens to be symlink. I suggest we deprecate isDir(), remove isSymlink() and add new method that returns an enum. Alternatively we could deprecate isDir() and add isDirectory() and isFile(); > Symbolic links > -------------- > > Key: HADOOP-6421 > URL: https://issues.apache.org/jira/browse/HADOOP-6421 > Project: Hadoop Common > Issue Type: New Feature > Reporter: Eli Collins > Assignee: Eli Collins > Attachments: symlink-25-common.patch, symlink-26-common.patch, symlink-26-common.patch, symlink24-common.patch, symlink27-common.patch, symlink28-common.patch, symlink29-common.patch, symlink29-common.patch, symlink29-common.patch, symlink30-common.patch, symlink31-common.patch, symlink32-common.patch, symlink33-common.patch, symlink34-common.patch, symlink35-common.patch, symlink36-common.patch, symlink37-common.patch, symlink38-common.patch, symlink39-common.patch > > > Here's a jira for the common parts of HDFS-245, mostly changes to FileContext and AbstractFileSystem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.