hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11516) Admin command line should print message to stderr in failure case
Date Fri, 17 Mar 2017 18:34:41 GMT

     [ https://issues.apache.org/jira/browse/HDFS-11516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Wang updated HDFS-11516:
-------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0-alpha3
                   2.9.0
           Status: Resolved  (was: Patch Available)

Thanks [~lewuathe], committed to trunk and branch-2 after a simple edit.

> Admin command line should print message to stderr in failure case
> -----------------------------------------------------------------
>
>                 Key: HDFS-11516
>                 URL: https://issues.apache.org/jira/browse/HDFS-11516
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Kai Sasaki
>            Assignee: Kai Sasaki
>            Priority: Minor
>             Fix For: 2.9.0, 3.0.0-alpha3
>
>         Attachments: HDFS-11516.01.patch, HDFS-11516.02.patch, HDFS-11516.03.patch
>
>
> {{AdminHelper}} and {{CryptAdmin}} where prints message to stdout instead of stderr.
Since other failure cases prints to stderr, it is necessary to consolidate that manner.
> e.g.
> {code}
>       if (args.size() != 1) {
>         System.err.println("You must give exactly one argument to -help.");
>         return 0;
>       }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message