[ https://issues.apache.org/jira/browse/HDFS-3387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272563#comment-13272563 ]
Brahma Reddy Battula commented on HDFS-3387: -------------------------------------------- @Daryn Sharp..Thanks for look... hadoop fs is not deprecated..Whatever you told is correct..It's better to separate out hdfs and hadoop(general filesystem) when running fsshell commands...I'll Fix same ..:) > [Fsshell]It's better to provide hdfs instead of hadoop in GenericOptionsParser > ------------------------------------------------------------------------------ > > Key: HDFS-3387 > URL: https://issues.apache.org/jira/browse/HDFS-3387 > Project: Hadoop HDFS > Issue Type: Bug > Components: hdfs client > Affects Versions: 2.0.0 > Reporter: Brahma Reddy Battula > Priority: Trivial > Fix For: 2.0.0, 3.0.0 > > Attachments: HDFS-3387.patch, HDFS-3387_updated.patch > > > Scenario: > ---------- > Execute any fsshell command with invalid options > Like ./hdfs haadmin -transitionToActive... > Here it is logging as following.. > bin/hadoop command [genericOptions] [commandOptions]... > Expected: Here help message is misleading to user saying that bin/hadoop that > is not actually user ran > it's better to log bin/hdfs..Anyway hadoop is deprecated.. -- 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