소스 검색

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.
Ayush Saxena 3 년 전
부모
커밋
f67e6c315b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DebugAdmin.java

+ 2 - 2
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 {