This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch doris-for-zhongjin in repository https://gitbox.apache.org/repos/asf/doris.git
commit ebc4fbea77bfa4140f26c4aed1ad26b164c721cb Author: morningman <morning...@163.com> AuthorDate: Wed Apr 5 16:26:18 2023 +0800 [zhongjin] add hive and hadoop shade jars --- thirdparty/build-thirdparty-for-tbds.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/thirdparty/build-thirdparty-for-tbds.sh b/thirdparty/build-thirdparty-for-tbds.sh index d4a5fda820..3ac9a0f29a 100755 --- a/thirdparty/build-thirdparty-for-tbds.sh +++ b/thirdparty/build-thirdparty-for-tbds.sh @@ -35,17 +35,26 @@ curdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" export DORIS_HOME="${curdir}/.." export TP_DIR="${curdir}" +DOWNLOAD_LINK=https://tencent-tbds-1308700295.cos.ap-beijing.myqcloud.com TBDS_HADOOP=hadoop-2.2.0.0-2041-tbds-5.2.0.1.tar.xz THIRDPARTY_INSTALLED=installed-for-tbds-with-thrift13.tar.xz -DOWNLOAD_LINK=https://tencent-tbds-1308700295.cos.ap-beijing.myqcloud.com +HIVE_SHADE=tbds-hive-shade-1.0.1-SNAPSHOT.jar +HADOOP_SHADE=tbds-hadoop-shade-1.0.1-SNAPSHOT.jar wget --no-check-certificate "${DOWNLOAD_LINK}/${THIRDPARTY_INSTALLED}" -O "${TP_DIR}/${THIRDPARTY_INSTALLED}" wget --no-check-certificate "${DOWNLOAD_LINK}/${TBDS_HADOOP}" -O "${TP_DIR}/${TBDS_HADOOP}" +wget --no-check-certificate "${DOWNLOAD_LINK}/${HIVE_SHADE}" -O "${TP_DIR}/${HIVE_SHADE}" +wget --no-check-certificate "${DOWNLOAD_LINK}/${HADOOP_SHADE}" -O "${TP_DIR}/${HADOOP_SHADE}" +echo "Install thirdparties..." tar xf "${TP_DIR}/${THIRDPARTY_INSTALLED}" tar xf "${TP_DIR}/${TBDS_HADOOP}" mv "${TP_DIR}/hadoop" "${TP_DIR}/hadoop_tbds" +echo "Install jars..." +mvn install:install-file -Dpackaging=jar -Dfile=${HADOOP_SHADE} -DgroupId=org.apache.doris -DartifactId=tbds-hadoop-shade -Dversion=1.0.1-SNAPSHOT +mvn install:install-file -Dpackaging=jar -Dfile=${HIVE_SHADE} -DgroupId=org.apache.doris -DartifactId=tbds-hive-shade -Dversion=1.0.1-SNAPSHOT + echo "Finished" --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org