[fix](deps) fix NoSuchMethodError: newInstanceFromKeytab when use kerberos (#37322)
This commit is contained in:
2
build.sh
2
build.sh
@ -662,6 +662,8 @@ if [[ "${BUILD_SPARK_DPP}" -eq 1 ]]; then
|
||||
fi
|
||||
|
||||
if [[ "${OUTPUT_BE_BINARY}" -eq 1 ]]; then
|
||||
# need remove old version hadoop jars if $DORIS_OUTPUT be used multiple times, otherwise will cause jar conflict
|
||||
rm -rf "${DORIS_OUTPUT}/be/lib/hadoop_hdfs"
|
||||
install -d "${DORIS_OUTPUT}/be/bin" \
|
||||
"${DORIS_OUTPUT}/be/conf" \
|
||||
"${DORIS_OUTPUT}/be/lib" \
|
||||
|
||||
2
thirdparty/build-thirdparty.sh
vendored
2
thirdparty/build-thirdparty.sh
vendored
@ -1673,6 +1673,8 @@ build_hadoop_libs() {
|
||||
echo "THIRDPARTY_INSTALLED=${TP_INSTALL_DIR}" >env.sh
|
||||
./build.sh
|
||||
|
||||
rm -rf "${TP_INSTALL_DIR}/include/hadoop_hdfs/"
|
||||
rm -rf "${TP_INSTALL_DIR}/lib/hadoop_hdfs/"
|
||||
mkdir -p "${TP_INSTALL_DIR}/include/hadoop_hdfs/"
|
||||
mkdir -p "${TP_INSTALL_DIR}/lib/hadoop_hdfs/"
|
||||
cp -r ./hadoop-dist/target/hadoop-libhdfs-3.3.6/* "${TP_INSTALL_DIR}/lib/hadoop_hdfs/"
|
||||
|
||||
Reference in New Issue
Block a user