You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Vinayakumar B (JIRA)" <ji...@apache.org> on 2014/09/24 07:13:34 UTC

[jira] [Commented] (HADOOP-11120) hadoop fs -rmr gives wrong advice

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

Vinayakumar B commented on HADOOP-11120:
----------------------------------------

I believe you might have got the full error message as below
{noformat}rm: Unknown command
Did you mean -rm?  This command begins with a dash.{noformat}

I feel its correct. ''rmr" and "rm" are commands. And to use any commands with fsshell we should prefix them with '-'.


> 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
>
> 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)