Skip to content

Commit 09469bf

Browse files
committed
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
1 parent 476340c commit 09469bf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hadoop-common-project/hadoop-common/src/main/bin/hadoop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ MYNAME="${BASH_SOURCE-$0}"
2626
function hadoop_usage
2727
{
2828
hadoop_add_option "buildpaths" "attempt to add class files from build tree"
29-
hadoop_add_option "hostnames list[,of,host,names]" "hosts to use in slave mode"
29+
hadoop_add_option "hostnames list[,of,host,names]" "hosts to use in worker mode"
3030
hadoop_add_option "loglevel level" "set the log4j level for this command"
31-
hadoop_add_option "hosts filename" "list of hosts to use in slave mode"
31+
hadoop_add_option "hosts filename" "list of hosts to use in worker mode"
3232
hadoop_add_option "workers" "turn on worker mode"
3333

3434
hadoop_add_subcommand "checknative" client "check native Hadoop and compression libraries availability"

hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemons.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# limitations under the License.
1717

1818

19-
# Run a Hadoop command on all slave hosts.
19+
# Run a Hadoop command on all worker hosts.
2020

2121
function hadoop_usage
2222
{

0 commit comments

Comments
 (0)