This is an automated email from the ASF dual-hosted git repository.

stevel pushed a commit to branch branch-3.3.5
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.3.5 by this push:
     new 706d88266ab HADOOP-18661. Fix bin/hadoop usage script terminology. 
(#5473)
706d88266ab is described below

commit 706d88266abcee09ed78fbaa0ad5f74d818ab0e9
Author: Steve Loughran <ste...@cloudera.com>
AuthorDate: Mon Mar 13 12:23:06 2023 +0000

    HADOOP-18661. Fix bin/hadoop usage script terminology. (#5473)
    
    
    Followup to HADOOP-13209: s/slaves/r/workers in
    the usage message you get when you type "bin/hadoop"
    
    Contributed by Steve Loughran
---
 hadoop-common-project/hadoop-common/src/main/bin/hadoop            | 4 ++--
 hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemons.sh | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/hadoop-common-project/hadoop-common/src/main/bin/hadoop 
b/hadoop-common-project/hadoop-common/src/main/bin/hadoop
index 7d9ffc69bc5..ab7cadd7d8a 100755
--- a/hadoop-common-project/hadoop-common/src/main/bin/hadoop
+++ b/hadoop-common-project/hadoop-common/src/main/bin/hadoop
@@ -26,9 +26,9 @@ MYNAME="${BASH_SOURCE-$0}"
 function hadoop_usage
 {
   hadoop_add_option "buildpaths" "attempt to add class files from build tree"
-  hadoop_add_option "hostnames list[,of,host,names]" "hosts to use in slave 
mode"
+  hadoop_add_option "hostnames list[,of,host,names]" "hosts to use in worker 
mode"
   hadoop_add_option "loglevel level" "set the log4j level for this command"
-  hadoop_add_option "hosts filename" "list of hosts to use in slave mode"
+  hadoop_add_option "hosts filename" "list of hosts to use in worker mode"
   hadoop_add_option "workers" "turn on worker mode"
 
   hadoop_add_subcommand "checknative" client "check native Hadoop and 
compression libraries availability"
diff --git a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemons.sh 
b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemons.sh
index 55304916ad1..1d8096b4baa 100755
--- a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemons.sh
+++ b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemons.sh
@@ -16,7 +16,7 @@
 # limitations under the License.
 
 
-# Run a Hadoop command on all slave hosts.
+# Run a Hadoop command on all worker hosts.
 
 function hadoop_usage
 {


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to