You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ay...@apache.org on 2021/10/22 15:44:44 UTC
[hadoop] 01/02: Revert "Remove duplicate generic usage information
to hdfs debug command (#3576). Contributed by daimin."
This is an automated email from the ASF dual-hosted git repository.
ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
commit f67e6c315b1c6173c7c3b6ea72586987a60872df
Author: Ayush Saxena <ay...@apache.org>
AuthorDate: Fri Oct 22 21:10:38 2021 +0530
Revert "Remove duplicate generic usage information to hdfs debug command (#3576). Contributed by daimin."
Misses Jira ID in the commit Message: HDFS-16282
This reverts commit 7b913bc6bc70cf71cd9fb16bf71f239e594d3f71.
---
.../src/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 efe355d..f5967e1 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 {
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org