[ 
https://issues.apache.org/jira/browse/HADOOP-7164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067586#comment-13067586
 ] 

Uma Maheswara Rao G commented on HADOOP-7164:
---------------------------------------------

In current trunk , looks this issue is fine .
Error messages standardized by HADOOP-7271


Tests:

linux-ybe6:/home/Uma/contributions/hadoop-hdfs-0.23.0-SNAPSHOT/bin # ./hdfs dfs 
-rm -r /NonExistant*
rm: `/NonExistant*': No such file or directory
linux-ybe6:/home/Uma/contributions/hadoop-hdfs-0.23.0-SNAPSHOT/bin #

Now looks it complaining to posix.

I will be closing this issue as duplicate to HADOOP-7271.

> 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
>             Fix For: 0.23.0
>
>         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

        

Reply via email to