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
f2f727359b
commit
77587ffb1e
@ -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
Block a user