[
https://issues.apache.org/jira/browse/HADOOP-11120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14146954#comment-14146954
]
Allen Wittenauer commented on HADOOP-11120:
-------------------------------------------
bq. I believe you might have got the full error message as below
Nope. See this screenshot. (which, as an added bonus, also features
HADOOP-11119!)
We clearly have two code paths in play, which makes this even worse.
bq. And to use any commands with fsshell we should prefix them with '-'.
...which is why we should be explicit to users about what we want them to do.
Hoping they correctly guess our intentions is terrible design.
> hadoop fs -rmr gives wrong advice
> ---------------------------------
>
> Key: HADOOP-11120
> URL: https://issues.apache.org/jira/browse/HADOOP-11120
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Allen Wittenauer
> Attachments: Screen Shot 2014-09-24 at 3.02.21 PM.png
>
>
> Typing bin/hadoop fs -rmr /a?
> gives the output:
> rmr: DEPRECATED: Please use 'rm -r' instead.
> Typing bin/hadoop fs rm -r /a?
> gives the output:
> rm: Unknown command
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)