From 847cff7d91c98e9e20f88b6c0a75e2e077391d05 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 f5967e15a63..efe355d1b0a 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 @@ public class DebugAdmin extends Configured implements Tool { 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 {