| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| |
| CUR_DATE=`date +%Y%m%d-%H%M%S` |
| |
| PPROF_TMPDIR="$DORIS_HOME/log/" |
| |
| # For jdk 8 |
| JAVA_OPTS="-Xcheck:jni -Xmx2048m -DlogPath=$DORIS_HOME/log/jni.log -Xloggc:$DORIS_HOME/log/be.gc.log.$CUR_DATE -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=50M -Djavax.security.auth.useSubjectCredsOnly=false -Dsun.security.krb5.debug=true -Dsun.java.command=DorisBE -XX:-CriticalJNINatives -Dcom.mysql.cj.disableAbandonedConnectionCleanup=true" |
| |
| # For jdk 17, this JAVA_OPTS will be used as default JVM options |
| JAVA_OPTS_FOR_JDK_17="-Xcheck:jni -Xmx2048m -DlogPath=$DORIS_HOME/log/jni.log -Xlog:gc*:$DORIS_HOME/log/be.gc.log.$CUR_DATE:time,uptime:filecount=10,filesize=50M -Djavax.security.auth.useSubjectCredsOnly=false -Dsun.security.krb5.debug=true -Dsun.java.command=DorisBE -XX:-CriticalJNINatives -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED -Dcom.mysql.cj.disableAbandonedConnectionCleanup=true" |
| |
| # Set your own JAVA_HOME |
| # JAVA_HOME=/path/to/jdk/ |
| |
| # https://github.com/apache/doris/blob/master/docs/zh-CN/community/developer-guide/debug-tool.md#jemalloc-heap-profile |
| # https://jemalloc.net/jemalloc.3.html |
| JEMALLOC_CONF="percpu_arena:percpu,background_thread:true,metadata_thp:auto,muzzy_decay_ms:5000,dirty_decay_ms:5000,oversize_threshold:0,prof:true,prof_active:false,lg_prof_interval:-1" |
| JEMALLOC_PROF_PRFIX="jemalloc_heap_profile_" |
| |
| # INFO, WARNING, ERROR, FATAL |
| sys_log_level = INFO |
| |
| be_port = 9161 |
| webserver_port = 8141 |
| heartbeat_service_port = 9151 |
| brpc_port = 8161 |
| arrow_flight_sql_port = 8181 |
| |
| path_gc_check_interval_second=1 |
| max_garbage_sweep_interval=180 |
| |
| log_buffer_level = -1 |
| enable_stream_load_record = true |
| storage_root_path=/mnt/ssd01/cluster_storage/doris.SSD/P0/cluster1;/mnt/ssd01/cluster_storage/doris.SSD |
| |
| priority_networks=172.19.0.0/24 |
| enable_fuzzy_mode=true |
| max_depth_of_expr_tree=200 |
| enable_feature_binlog=true |
| max_sys_mem_available_low_water_mark_bytes=69206016 |
| user_files_secure_path=/ |
| enable_debug_points=true |
| # debug scanner context dead loop |
| enable_debug_log_timeout_secs=0 |
| enable_missing_rows_correctness_check=true |
| |
| trino_connector_plugin_dir=/tmp/trino_connector/connectors |
| |
| enable_jvm_monitor = true |
| |
| KRB5_CONFIG=/keytabs/krb5.conf |
| kerberos_krb5_conf_path=/keytabs/krb5.conf |
| pipeline_task_leakage_detect_period_sec=1 |
| crash_in_memory_tracker_inaccurate = true |
| |
| # So feature has bug, so by default is false, only open it in pipeline to observe |
| enable_parquet_page_index=true |
| enable_graceful_exit_check=true |