From 968bc6442a339791368a287a27fe012f2207a2c6 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Sat, 18 Feb 2012 15:27:04 +0000 Subject: [PATCH] HDFS-2725 script to mention dfs command git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1245944 13f79535-47bb-0310-9956-ffa450edef68 --- 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 057d031945f..7acd64ae118 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -22,6 +22,9 @@ Release 0.23.2 - UNRELEASED HDFS-2655. BlockReaderLocal#skip performs unnecessary IO. (Brandon Li via jitendra) + HDFS-2725. hdfs script usage information is missing the information + about "dfs" command (Prashant Sharma via stevel) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs index 314fac8fd82..4c56bb3f149 100755 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs @@ -26,6 +26,7 @@ HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR} function print_usage(){ echo "Usage: hdfs [--config confdir] COMMAND" echo " where COMMAND is one of:" + echo " dfs run a filesystem command on the file systems supported in Hadoop." echo " namenode -format format the DFS filesystem" echo " secondarynamenode run the DFS secondary namenode" echo " namenode run the DFS namenode"