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

Daryn Sharp commented on HADOOP-9289:
-------------------------------------

The FsShell rm usage states:
{noformat}
-f     If the file does not exist, do not display a diagnostic
       message or modify the exit status to reflect an error.
{noformat}

How do you think the text should be updated?
                
> FsShell rm -f fails for non-matching globs
> ------------------------------------------
>
>                 Key: HADOOP-9289
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9289
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Blocker
>             Fix For: 2.0.3-alpha, 0.23.7
>
>         Attachments: HADOOP-9289.branch-23.patch, HADOOP-9289.patch
>
>
> Rm -f isn't supposed to error for paths that don't exist.  It works as 
> expected for exact paths, but fails for non-matching globs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to