Browse Source

HDFS-10835. Fix typos in httpfs.sh. Contributed by John Zhuge.

Xiao Chen 8 years ago
parent
commit
7c213c341d
1 changed files with 7 additions and 7 deletions
  1. 7 7
      hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh

+ 7 - 7
hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh

@@ -17,15 +17,15 @@ MYNAME="${BASH_SOURCE-$0}"
 
 function hadoop_usage
 {
-  hadoop_add_subcommand "run" "Start kms in the current window"
+  hadoop_add_subcommand "run" "Start HttpFS in the current window"
   hadoop_add_subcommand "run -security" "Start in the current window with security manager"
-  hadoop_add_subcommand "start" "Start kms in a separate window"
+  hadoop_add_subcommand "start" "Start HttpFS in a separate window"
   hadoop_add_subcommand "start -security" "Start in a separate window with security manager"
   hadoop_add_subcommand "status" "Return the LSB compliant status"
-  hadoop_add_subcommand "stop" "Stop kms, waiting up to 5 seconds for the process to end"
-  hadoop_add_subcommand "top n" "Stop kms, waiting up to n seconds for the process to end"
-  hadoop_add_subcommand "stop -force" "Stop kms, wait up to 5 seconds and then use kill -KILL if still running"
-  hadoop_add_subcommand "stop n -force" "Stop kms, wait up to n seconds and then use kill -KILL if still running"
+  hadoop_add_subcommand "stop" "Stop HttpFS, waiting up to 5 seconds for the process to end"
+  hadoop_add_subcommand "stop n" "Stop HttpFS, waiting up to n seconds for the process to end"
+  hadoop_add_subcommand "stop -force" "Stop HttpFS, wait up to 5 seconds and then use kill -KILL if still running"
+  hadoop_add_subcommand "stop n -force" "Stop HttpFS, wait up to n seconds and then use kill -KILL if still running"
   hadoop_generate_usage "${MYNAME}" false
 }
 
@@ -47,7 +47,7 @@ else
   exit 1
 fi
 
-# The Java System property 'httpfs.http.port' it is not used by Kms,
+# The Java System property 'httpfs.http.port' it is not used by HttpFS,
 # it is used in Tomcat's server.xml configuration file
 #