HADOOP-17042. Hadoop distcp throws 'ERROR: Tools helper ///usr/lib/hadoop/libexec/tools/hadoop-distcp.sh was not found'. Contributed by Aki Tanaka.
(cherry picked from commit 27601fc79e
)
This commit is contained in:
parent
31755c91ff
commit
533e51f97e
|
@ -1336,7 +1336,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