From 6e574493508d69cefcfb1b05b78e73d342adb1b2 Mon Sep 17 00:00:00 2001 From: daimin Date: Fri, 22 Oct 2021 23:39:37 +0800 Subject: [PATCH] HDFS-16282. Remove duplicate generic usage information to hdfs debug command (#3576). Contributed by daimin. Signed-off-by: Ayush Saxena --- .../main/java/org/apache/hadoop/hdfs/tools/DebugAdmin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DebugAdmin.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DebugAdmin.java index f5967e15a6..efe355d1b0 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DebugAdmin.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DebugAdmin.java @@ -459,9 +459,9 @@ private void printUsage() { if (!command.name.equals("help")) { System.out.println(command.usageText); } - System.out.println(); - ToolRunner.printGenericCommandUsage(System.out); } + System.out.println(); + ToolRunner.printGenericCommandUsage(System.out); } public static void main(String[] argsArray) throws Exception {