Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 5738 invoked from network); 17 Jun 2008 13:08:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jun 2008 13:08:59 -0000 Received: (qmail 61519 invoked by uid 500); 17 Jun 2008 13:08:59 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 61491 invoked by uid 500); 17 Jun 2008 13:08:59 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 61474 invoked by uid 99); 17 Jun 2008 13:08:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2008 06:08:59 -0700 X-ASF-Spam-Status: No, hits=-1999.0 required=10.0 tests=ALL_TRUSTED,FB_WORD1_END_DOLLAR 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; Tue, 17 Jun 2008 13:08:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AF6DB234C155 for ; Tue, 17 Jun 2008 06:07:46 -0700 (PDT) Message-ID: <994935375.1213708066717.JavaMail.jira@brutus> Date: Tue, 17 Jun 2008 06:07:46 -0700 (PDT) From: "Hudson (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3561) With trash enabled, 'hadoop fs -rmr .' still fully deletes the working dir In-Reply-To: <891650592.1213398345045.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605587#action_12605587 ] Hudson commented on HADOOP-3561: -------------------------------- Integrated in Hadoop-trunk #521 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/521/]) > With trash enabled, 'hadoop fs -rmr .' still fully deletes the working dir > -------------------------------------------------------------------------- > > Key: HADOOP-3561 > URL: https://issues.apache.org/jira/browse/HADOOP-3561 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Environment: r667675 > Reporter: Chris Douglas > Assignee: Chris Douglas > Priority: Blocker > Fix For: 0.18.0 > > Attachments: 3561-0.patch > > > With trash enabled, it should be more difficult to fully delete the working dir: > {noformat} > bash$ bin/hadoop fs -lsr / > drwxr-xr-x - username supergroup 0 2008-06-13 15:51 /user > drwxr-xr-x - username supergroup 0 2008-06-13 15:52 /user/username > drwxr-xr-x - username supergroup 0 2008-06-13 15:52 /user/username/.Trash > drwx------ - username supergroup 0 2008-06-13 15:52 /user/username/.Trash/Current > -rw-r--r-- 1 username supergroup 232060 2008-06-13 15:52 /user/username/.Trash/Current/file.txt > pineapple-lm:~/work/18-commit chrisdo$ bin/hadoop fs -rmr . > rmr: Failed to move to trash: hdfs://localhost/user/username > bash$ bin/hadoop fs -lsr / > drwxr-xr-x - username supergroup 0 2008-06-13 15:52 /user > bash$ > {noformat} > In 0.17, the working dir remains. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.