From 3c632c80a220851f92711bbb5a78682ee477f671 Mon Sep 17 00:00:00 2001 From: Vinayakumar B Date: Tue, 30 Jun 2015 15:00:22 +0530 Subject: [PATCH] HDFS-8579. Update HDFS usage with missing options (Contributed by J.Andreina) (cherry picked from commit 77588e1d32cc465e6b0699bb3564a4c7c6df16fa) Conflicts: hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs | 1 + 2 files changed, 4 insertions(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index dad92226eee..3b745cf7dac 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -650,6 +650,9 @@ Release 2.8.0 - UNRELEASED HDFS-8687. Remove the duplicate usage message from Dfsck.java. (Brahma Reddy Battula via Arpit Agarwal) + HDFS-8579. Update HDFS usage with missing options + (J.Andreina via vinayakumarb) + Release 2.7.2 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs index 155df141842..7cae2891480 100755 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs @@ -45,6 +45,7 @@ function print_usage(){ echo " journalnode run the DFS journalnode" echo " zkfc run the ZK Failover Controller daemon" echo " datanode run a DFS datanode" + echo " debug run a Debug Admin to execute HDFS debug commands" echo " dfsadmin run a DFS admin client" echo " haadmin run a DFS HA admin client" echo " fsck run a DFS filesystem checking utility"