From 2e2dbeadc4305efd9cccd4dda5eb001025928c7a Mon Sep 17 00:00:00 2001 From: catpineapple <1391869588@qq.com> Date: Wed, 11 Sep 2024 15:08:46 +0800 Subject: [PATCH] modify docker be default storage path --- docker/runtime/be/resource/be_disaggregated_entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/runtime/be/resource/be_disaggregated_entrypoint.sh b/docker/runtime/be/resource/be_disaggregated_entrypoint.sh index f2dc6f6e2231f8..9834e94d362cff 100755 --- a/docker/runtime/be/resource/be_disaggregated_entrypoint.sh +++ b/docker/runtime/be/resource/be_disaggregated_entrypoint.sh @@ -44,7 +44,8 @@ DEFAULT_CLUSTER_NAME=$(awk -F $INSTANCE_NAME"-" '{print $NF}' <<<$STATEFULSET_NA CLUSTER_NAME=${CLUSTER_NAME:="$DEFAULT_CLUSTER_NAME"} #TODO: check config or not, add default -echo 'file_cache_path = [{"path":"/opt/apache-doris/be/storage","total_size":107374182400,"query_limit":107374182400}]' >> $DORIS_HOME/be/conf/be.conf +mkdir -p /opt/apache-doris/be/cache +echo 'file_cache_path = [{"path":"/opt/apache-doris/be/cache","total_size":107374182400,"query_limit":107374182400}]' >> $DORIS_HOME/be/conf/be.conf function log_stderr() {