[
https://issues.apache.org/jira/browse/HADOOP-6145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730574#action_12730574
]
Tsz Wo (Nicholas), SZE commented on HADOOP-6145:
------------------------------------------------
srcFs.exists(src) and srcFs.isDirectory(src) both call
srcFs.getFileStatus(src). We could call srcFs.getFileStatus(src) once in
FsShell.delete(..) and save a rpc.
> No error message for deleting non-existant file or directory.
> -------------------------------------------------------------
>
> Key: HADOOP-6145
> URL: https://issues.apache.org/jira/browse/HADOOP-6145
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.20.1
> Reporter: Suman Sehgal
> Assignee: Jakob Homan
> Attachments: COMMON-6145.patch, HADOOP-6145.patch
>
>
> If non-existant path or src is provided with rm/rmr option then no error
> message is displayed
> command: hadoop dfs -rm <src> (where src is non-existant)
> dfs displays "rm: <src>"
> while it should display "No such file or directory".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.