Kai Sasaki created HDFS-11516:
---------------------------------
Summary: 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
{{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: [email protected]
For additional commands, e-mail: [email protected]