Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 30037 invoked from network); 12 Mar 2010 10:30:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Mar 2010 10:30:28 -0000 Received: (qmail 38294 invoked by uid 500); 12 Mar 2010 10:29:52 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 38188 invoked by uid 500); 12 Mar 2010 10:29: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 38180 invoked by uid 99); 12 Mar 2010 10:29:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 10:29:50 +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, 12 Mar 2010 10:29:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5435B234C4C3 for ; Fri, 12 Mar 2010 10:29:27 +0000 (UTC) Message-ID: <1298898743.224341268389767344.JavaMail.jira@brutus.apache.org> Date: Fri, 12 Mar 2010 10:29:27 +0000 (UTC) From: "Vinod K V (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6536) FileUtil.fullyDelete(dir) behavior is not defined when we pass a symlink as the argument In-Reply-To: <508958946.48471265176519280.JavaMail.jira@brutus.apache.org> 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-6536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844448#action_12844448 ] Vinod K V commented on HADOOP-6536: ----------------------------------- bq. I guess fullyDelete() should delete as many files as possible(similar to 'rm -rf'). Filed HADOOP-6631 for this. > FileUtil.fullyDelete(dir) behavior is not defined when we pass a symlink as the argument > ---------------------------------------------------------------------------------------- > > Key: HADOOP-6536 > URL: https://issues.apache.org/jira/browse/HADOOP-6536 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Reporter: Amareshwari Sriramadasu > Fix For: 0.22.0 > > > FileUtil.fullyDelete(dir) deletes contents of sym-linked directory when we pass a symlink. If this is the behavior, it should be documented as so. > Or it should be changed not to delete the contents of the sym-linked directory. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.