hadoop-common-issues mailing list archives

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

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

Chris Douglas commented on HADOOP-11120:
----------------------------------------

This doesn't seem too egregious... I've never been a fan of the dash prefix, but both error
messages are correct.

The proposed fix is for for the deprecation message to include the dash prefix, so a user
gets the correct command in one hop instead of two?

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

Mime
View raw message