HADOOP-13532. Fix typo in hadoop_connect_to_hosts error message (Albert Chu via aw) closes #120
This commit is contained in:
parent
525d52bf7c
commit
601599b036
|
@ -695,7 +695,7 @@ function hadoop_connect_to_hosts
|
||||||
#
|
#
|
||||||
# User can specify hostnames or a file where the hostnames are (not both)
|
# User can specify hostnames or a file where the hostnames are (not both)
|
||||||
if [[ -n "${HADOOP_WORKERS}" && -n "${HADOOP_WORKER_NAMES}" ]] ; then
|
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
|
exit 1
|
||||||
elif [[ -z "${HADOOP_WORKER_NAMES}" ]]; then
|
elif [[ -z "${HADOOP_WORKER_NAMES}" ]]; then
|
||||||
if [[ -n "${HADOOP_WORKERS}" ]]; then
|
if [[ -n "${HADOOP_WORKERS}" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue