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:
Akira Ajisaka 2020-05-18 15:36:11 +09:00
parent a3809d2023
commit 27601fc79e
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50

View File

@ -1342,7 +1342,7 @@ function hadoop_add_to_classpath_tools
# shellcheck disable=SC1090
. "${HADOOP_LIBEXEC_DIR}/tools/${module}.sh"
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
if declare -f hadoop_classpath_tools_${module} >/dev/null 2>&1; then