[ https://issues.apache.org/jira/browse/HADOOP-8074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209481#comment-13209481 ]
Daryn Sharp commented on HADOOP-8074: ------------------------------------- Levenstein is a very cool idea for suggesting alternatives! Apache Common's StringUtils even has a method for it. It's a handful of lines to implement, so I can post a patch with it later today if you can please help me out with updating the hdfs tests since I've got more demanding priorities... > 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