Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 68420 invoked from network); 18 Jun 2009 22:12:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jun 2009 22:12:29 -0000 Received: (qmail 67689 invoked by uid 500); 18 Jun 2009 22:12:38 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 67526 invoked by uid 500); 18 Jun 2009 22:12:38 -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 67351 invoked by uid 99); 18 Jun 2009 22:12:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 22:12:36 +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; Thu, 18 Jun 2009 22:12:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 54BE0234C044 for ; Thu, 18 Jun 2009 15:12:07 -0700 (PDT) Message-ID: <631801556.1245363127342.JavaMail.jira@brutus> Date: Thu, 18 Jun 2009 15:12:07 -0700 (PDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6080) Handling of Trash with quota In-Reply-To: <1128740473.1245351727483.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-6080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721525#action_12721525 ] Tsz Wo (Nicholas), SZE commented on HADOOP-6080: ------------------------------------------------ If we do (5), we still have to do (1), i.e. add a message telling the user to use -skipTrash . > Handling of Trash with quota > ----------------------------- > > Key: HADOOP-6080 > URL: https://issues.apache.org/jira/browse/HADOOP-6080 > Project: Hadoop Core > Issue Type: New Feature > Components: fs > Reporter: Koji Noguchi > Assignee: Jakob Homan > > Currently with quota turned on, user cannot call '-rmr' on large directory that causes over quota. > {noformat} > [knoguchi src]$ hadoop dfs -rmr /tmp/net2 > rmr: Failed to move to trash: hdfs://abc.def.com/tmp/net2 > [knoguchi src]$ hadoop dfs -mv /tmp/net2 /user/knoguchi/.Trash/Current > mv: org.apache.hadoop.hdfs.protocol.QuotaExceededException: The quota of /user/knoguchi is exceeded: namespace > quota=37500 file count=37757, diskspace quota=-1 diskspace=1991250043353 > {noformat} > Besides from error message being unfriendly, how should this be handled? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.