HDFS-13319. Ozone: start-ozone.sh/stop-ozone.sh fail because of unresolved path.

Contributed by Mukul Kumar Singh.
This commit is contained in:
Anu Engineer 2018-03-21 19:20:13 -07:00 committed by Owen O'Malley
parent 2078884b36
commit 6eb1dc9e8c

View File

@ -322,7 +322,7 @@ fi
hadoop_add_client_opts
if [[ ${HADOOP_WORKER_MODE} = true ]]; then
hadoop_common_worker_mode_execute "${HADOOP_OZONE_HOME}/bin/oz" "${HADOOP_USER_PARAMS[@]}"
hadoop_common_worker_mode_execute "${HADOOP_HDFS_HOME}/bin/oz" "${HADOOP_USER_PARAMS[@]}"
exit $?
fi