Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 13981 invoked from network); 31 May 2008 08:20:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 May 2008 08:20:09 -0000 Received: (qmail 65613 invoked by uid 500); 31 May 2008 08:20:10 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 65595 invoked by uid 500); 31 May 2008 08:20:10 -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 65584 invoked by uid 99); 31 May 2008 08:20:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 May 2008 01:20:10 -0700 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; Sat, 31 May 2008 08:19:30 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7B4C9234C128 for ; Sat, 31 May 2008 01:19:46 -0700 (PDT) Message-ID: <839890967.1212221986503.JavaMail.jira@brutus> Date: Sat, 31 May 2008 01:19:46 -0700 (PDT) From: "Owen O'Malley (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3474) Need an option -rm and -rmr to *not* move to Trash, but actually delete In-Reply-To: <1697818200.1212186285100.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-3474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601364#action_12601364 ] Owen O'Malley commented on HADOOP-3474: --------------------------------------- In such situations, I use: {code} hadoop fs -rmr foo bar .Trash {code} > Need an option -rm and -rmr to *not* move to Trash, but actually delete > ----------------------------------------------------------------------- > > Key: HADOOP-3474 > URL: https://issues.apache.org/jira/browse/HADOOP-3474 > Project: Hadoop Core > Issue Type: New Feature > Components: fs > Affects Versions: 0.17.0 > Reporter: Milind Bhandarkar > > By default, when Trash is enabled, -rm and -rmr just move files/directories to .Trash, which are actually deleted after some time set in the config. > When DFS gets full, we need to quickly create space on it by deleting files, so it will be good to have a --force option to both -rm and -rmr, so that files are actually deleted and not moved. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.