HADOOP-17042. Hadoop distcp throws 'ERROR: Tools helper ///usr/lib/hadoop/libexec/tools/hadoop-distcp.sh was not found'. Contributed by Aki Tanaka.
This commit is contained in:
parent
a3809d2023
commit
27601fc79e
|
@ -1342,7 +1342,7 @@ function hadoop_add_to_classpath_tools
|
||||||
# shellcheck disable=SC1090
|
# shellcheck disable=SC1090
|
||||||
. "${HADOOP_LIBEXEC_DIR}/tools/${module}.sh"
|
. "${HADOOP_LIBEXEC_DIR}/tools/${module}.sh"
|
||||||
else
|
else
|
||||||
hadoop_error "ERROR: Tools helper ${HADOOP_LIBEXEC_DIR}/tools/${module}.sh was not found."
|
hadoop_debug "Tools helper ${HADOOP_LIBEXEC_DIR}/tools/${module}.sh was not found."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if declare -f hadoop_classpath_tools_${module} >/dev/null 2>&1; then
|
if declare -f hadoop_classpath_tools_${module} >/dev/null 2>&1; then
|
||||||
|
|
Loading…
Reference in New Issue