Skip to content

Commit

Permalink
[Chore](build) ignore compile warning on orc && fix invalid command c…
Browse files Browse the repository at this point in the history
…urdate on conf (apache#18810)

ignore compile warning on orc && fix invalid command curdate on conf
  • Loading branch information
BiteTheDDDDt authored Apr 20, 2023
1 parent fa2a50f commit 908fbf9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion be/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ SET(ZSTD_HOME "$ENV{DORIS_THIRDPARTY}/installed")
SET(ZSTD_INCLUDE_DIR "$ENV{DORIS_THIRDPARTY}/installed/include/zstd")

add_subdirectory(${SRC_DIR}/apache-orc EXCLUDE_FROM_ALL)
target_compile_options(orc PRIVATE -Wno-implicit-fallthrough)
target_compile_options(orc PRIVATE -Wno-implicit-fallthrough -w)

# Check if functions are supported in this platform. All flags will generated
# in gensrc/build/common/env_config.h.
Expand Down
3 changes: 2 additions & 1 deletion conf/be.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
# specific language governing permissions and limitations
# under the License.

CUR_DATE='$(date +%Y%m%d-%H%M%S)'

PPROF_TMPDIR="$DORIS_HOME/log/"

CUR_DATE = `date +%Y%m%d-%H%M%S`
JAVA_OPTS="-Xmx1024m -DlogPath=$DORIS_HOME/log/jni.log -Xlog:gc:$DORIS_HOME/log/be.gc.log.$CUR_DATE -Dsun.java.command=DorisBE -XX:-CriticalJNINatives -DJDBC_MIN_POOL=1 -DJDBC_MAX_POOL=100 -DJDBC_MAX_IDEL_TIME=600000"

# since 1.2, the JAVA_HOME need to be set to run BE process.
Expand Down
7 changes: 4 additions & 3 deletions conf/fe.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@
## see fe/src/org/apache/doris/common/Config.java
#####################################################################

CUR_DATE='$(date +%Y%m%d-%H%M%S)'

# the output dir of stderr and stdout
LOG_DIR = ${DORIS_HOME}/log

DATE = `date +%Y%m%d-%H%M%S`
JAVA_OPTS="-Xmx8192m -XX:+UseMembar -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=7 -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -XX:-CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=80 -XX:SoftRefLRUPolicyMSPerMB=0 -Xloggc:$DORIS_HOME/log/fe.gc.log.$DATE"
JAVA_OPTS="-Xmx8192m -XX:+UseMembar -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=7 -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -XX:-CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=80 -XX:SoftRefLRUPolicyMSPerMB=0 -Xloggc:$DORIS_HOME/log/fe.gc.log.$CUR_DATE"

# For jdk 9+, this JAVA_OPTS will be used as default JVM options
JAVA_OPTS_FOR_JDK_9="-Xmx8192m -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=7 -XX:+CMSClassUnloadingEnabled -XX:-CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=80 -XX:SoftRefLRUPolicyMSPerMB=0 -Xlog:gc*:$DORIS_HOME/log/fe.gc.log.$DATE:time"
JAVA_OPTS_FOR_JDK_9="-Xmx8192m -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=7 -XX:+CMSClassUnloadingEnabled -XX:-CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=80 -XX:SoftRefLRUPolicyMSPerMB=0 -Xlog:gc*:$DORIS_HOME/log/fe.gc.log.$CUR_DATE:time"

##
## the lowercase properties are read by main program.
Expand Down
2 changes: 1 addition & 1 deletion regression-test/pipeline/p0/conf/be.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ webserver_port = 8141
heartbeat_service_port = 9151
brpc_port = 8161

mem_limit = 30%
mem_limit = 33%
disable_minidump = true
path_gc_check_interval_second=1
max_garbage_sweep_interval=180
Expand Down
2 changes: 1 addition & 1 deletion regression-test/pipeline/p1/conf/be.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ webserver_port = 8142
heartbeat_service_port = 9152
brpc_port = 8162

mem_limit = 30%
mem_limit = 33%
disable_minidump = true
path_gc_check_interval_second=1
max_garbage_sweep_interval=180
Expand Down

0 comments on commit 908fbf9

Please sign in to comment.