Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix](catalog)add custom jar #23406

Merged
merged 6 commits into from
Aug 25, 2023
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions bin/start_be.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@ for preload_jar in "${preload_jars[@]}"; do
fi
done

# add custom jar
custom_extension_folder="${DORIS_HOME}/lib/java_extensions/custom_extension"
zddr marked this conversation as resolved.
Show resolved Hide resolved

if [[ -d "${custom_extension_folder}" ]]; then
for file in "${custom_extension_folder}"/*.jar; do
export DORIS_CLASSPATH="${DORIS_CLASSPATH}:${file}"
done
fi

if [[ -d "${DORIS_HOME}/lib/hadoop_hdfs/" ]]; then
# add hadoop libs
for f in "${DORIS_HOME}/lib/hadoop_hdfs/common"/*.jar; do
Expand Down