You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2015/03/16 07:38:38 UTC

[jira] [Commented] (HDFS-3387) [Fsshell]It's better to provide hdfs instead of hadoop in GenericOptionsParser

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

Harsh J commented on HDFS-3387:
-------------------------------

The text can rather look generic such as this:

{quote}
The general command line syntax is:
  command [genericOptions] [commandOptions]
{quote}

> [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-alpha
>            Reporter: Brahma Reddy Battula
>            Priority: Trivial
>         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 was sent by Atlassian JIRA
(v6.3.4#6332)