HADOOP-13532. Fix typo in hadoop_connect_to_hosts error message (Albert Chu via aw) closes #120

This commit is contained in:
Allen Wittenauer 2016-08-25 06:58:42 -07:00
parent 525d52bf7c
commit 601599b036
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ function hadoop_connect_to_hosts
#
# User can specify hostnames or a file where the hostnames are (not both)
if [[ -n "${HADOOP_WORKERS}" && -n "${HADOOP_WORKER_NAMES}" ]] ; then
hadoop_error "ERROR: Both HADOOP_WORKERS and HADOOP_WORKER_NAME were defined. Aborting."
hadoop_error "ERROR: Both HADOOP_WORKERS and HADOOP_WORKER_NAMES were defined. Aborting."
exit 1
elif [[ -z "${HADOOP_WORKER_NAMES}" ]]; then
if [[ -n "${HADOOP_WORKERS}" ]]; then