hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11120) hadoop fs -rmr gives wrong advice
Date Wed, 24 Sep 2014 05:13:34 GMT

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

Mime
View raw message