Skip to content

Commit

Permalink
modify docker be default storage path
Browse files Browse the repository at this point in the history
  • Loading branch information
catpineapple committed Sep 11, 2024
1 parent 8e37fb4 commit 2e2dbea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/runtime/be/resource/be_disaggregated_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down

0 comments on commit 2e2dbea

Please sign in to comment.