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
This commit is contained in:
Steve Loughran 2012-02-18 15:27:04 +00:00
parent 8f782a487f
commit 968bc6442a
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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"