hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8074) Small bug in hadoop error message for unknown commands
Date Thu, 16 Feb 2012 01:23:00 GMT

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

Colin Patrick McCabe commented on HADOOP-8074:

Hi Daryn,

I like your idea of accepting the commands without a leading dash.  It makes sense to me.

Another improvement we could consider is enhancing FsShell to do a more general "did you mean"
type search.  You could point out the one or two commands with the shortest Levenstein distance
from what the user entered.

For now, this change catches the fairly common case where a first-time user types the command
without a dash, and then is mystified when it doesn't work.  I know that this can happen because
I was that first-time user at one point!

> Small bug in hadoop error message for unknown commands
> ------------------------------------------------------
>                 Key: HADOOP-8074
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8074
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.24.0
>            Reporter: Eli Collins
>            Assignee: Colin Patrick McCabe
>            Priority: Trivial
>             Fix For: 0.23.2
>         Attachments: HADOOP-8074.txt
> The hadoop fs command should be more user friendly if the user forgets the dash before
the command. Also, this should say "cat" rather than "at".
> {noformat}
> hadoop-0.24.0-SNAPSHOT $ ./bin/hadoop fs cat
> at: Unknown command
> {noformat}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message