hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@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.
Date Tue, 19 Apr 2011 08:46:06 GMT

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

Hadoop QA commented on HADOOP-7164:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12472666/HDFS-1609-test.patch
  against trunk revision 1094750.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 7 new or modified tests.

    -1 patch.  The patch command could not apply the patch.

Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/362//console

This message is automatically generated.

> 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

Mime
View raw message