HDFS-8687. Remove the duplicate usage message from Dfsck.java. (Contributed by Brahma Reddy Battula)

This commit is contained in:
Arpit Agarwal 2015-06-29 14:49:00 -07:00
parent 11bdcb754a
commit ff78e611c0
2 changed files with 3 additions and 1 deletions

View File

@ -644,6 +644,9 @@ Release 2.8.0 - UNRELEASED
HDFS-8628. Update missing command option for fetchdt
(J.Andreina via vinayakumarb)
HDFS-8687. Remove the duplicate usage message from Dfsck.java. (Brahma
Reddy Battula via Arpit Agarwal)
Release 2.7.2 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -375,7 +375,6 @@ public class DFSck extends Configured implements Tool {
int res = -1;
if ((args.length == 0) || ("-files".equals(args[0]))) {
printUsage(System.err);
ToolRunner.printGenericCommandUsage(System.err);
} else if (DFSUtil.parseHelpArgument(args, USAGE, System.out, true)) {
res = 0;
} else {