Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 92980 invoked from network); 4 Mar 2011 17:31:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Mar 2011 17:31:58 -0000 Received: (qmail 9807 invoked by uid 500); 4 Mar 2011 17:31:58 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 9746 invoked by uid 500); 4 Mar 2011 17:31:57 -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 9719 invoked by uid 99); 4 Mar 2011 17:31:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 17:31:57 +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; Fri, 04 Mar 2011 17:31:57 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 46B2B4FEDE for ; Fri, 4 Mar 2011 17:31:37 +0000 (UTC) Date: Fri, 4 Mar 2011 17:31:37 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1912492318.14684.1299259897286.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (HADOOP-7164) rmr command is not displaying any error message when a path contains wildcard characters and does not exist. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-7164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002731#comment-13002731 ] Tsz Wo (Nicholas), SZE commented on HADOOP-7164: ------------------------------------------------ I also have moved this to Common. > rmr command is not displaying any error message when a path contains wildcard characters and does not exist. > ------------------------------------------------------------------------------------------------------------ > > Key: HADOOP-7164 > URL: https://issues.apache.org/jira/browse/HADOOP-7164 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 0.20.1, 0.20.2 > Reporter: Uma Maheswara Rao G > Priority: Minor > Attachments: HDFS-1609-src.patch, HDFS-1609-test.patch, HDFS-1609.patch > > > When we give invalid directory path then it will show error message on the console. But if we provide the wildcard expression in invalid directory path then it will not show any error message even there is no pattern match for that path. > linux-9j5v:/home/hadoop-hdfs-0.22.0-SNAPSHOT/bin # ./hdfs dfs -rmr /test/test > rmr: cannot remove /test/test: No such file or directory. > *linux-9j5v:/home/hadoop-hdfs-0.22.0-SNAPSHOT/bin # ./hdfs dfs -rmr /test* * > *linux-9j5v:/home/hadoop-hdfs-0.22.0-SNAPSHOT/bin #* -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira