Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CEBC263AE for ; Tue, 28 Jun 2011 16:24:40 +0000 (UTC) Received: (qmail 14271 invoked by uid 500); 28 Jun 2011 16:24:40 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 14214 invoked by uid 500); 28 Jun 2011 16:24:40 -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 14201 invoked by uid 99); 28 Jun 2011 16:24:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 16:24:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 16:24:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id ED2C4437A8B for ; Tue, 28 Jun 2011 16:24:16 +0000 (UTC) Date: Tue, 28 Jun 2011 16:24:16 +0000 (UTC) From: "Ravi Prakash (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <695982236.2244.1309278256968.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1225328612.2229.1309278017362.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7430) Improve error message when moving to trash fails due to quota issue 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-7430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056610#comment-13056610 ] Ravi Prakash commented on HADOOP-7430: -------------------------------------- Courtesy Rajit Saha {quote}https://issues.apache.org/jira/browse/HADOOP-6203 surfaces again. now -rmr is depreciated and using -rm -R and not seeing following messeges in output Consider using -skipTrash option and Problem with Trash.The NameSpace quota (directories and files) of directory /user/someUser is exceeded: quota=5 file count=6 The only messege coming - rm: Failed to move to trash: hdfs://localhost:8020/user/someUser/a/b/c {quote} Also from Rajit, {quote}found another scenario when "use -skipTrash" is not promted $hdfs dfs -rm -R . rm: Cannot move "hdfs://:8020/user/" to the trash, as it contains the trash Previously same command use to print the following Problem with Trash.. Consider using -skipTrash option rm: Cannot move "hdfs://:8020/user/" to the trash, as it contains the trash" {quote} > Improve error message when moving to trash fails due to quota issue > ------------------------------------------------------------------- > > Key: HADOOP-7430 > URL: https://issues.apache.org/jira/browse/HADOOP-7430 > Project: Hadoop Common > Issue Type: Improvement > Components: fs > Reporter: Ravi Prakash > Assignee: Ravi Prakash > Priority: Minor > > -rm command doesn't suggest -skipTrash on failure. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira