From b885970b6b3a137725ce967549ebc9536bb77c49 Mon Sep 17 00:00:00 2001 From: zhu3pang Date: Thu, 21 Nov 2024 19:54:36 +0800 Subject: [PATCH] [Improvement-16758][Deploy] Record the fatal error Log (#16829) --- .../dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh | 1 + dolphinscheduler-api/src/main/bin/jvm_args_env.sh | 1 + dolphinscheduler-master/src/main/bin/jvm_args_env.sh | 1 + dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh | 1 + dolphinscheduler-worker/src/main/bin/jvm_args_env.sh | 1 + 5 files changed, 5 insertions(+) diff --git a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh index 9d19a823f7..e10dbf2cf3 100644 --- a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh +++ b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh @@ -23,6 +23,7 @@ -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-%t.log +-XX:ErrorFile=java_error-%p.log -XX:-OmitStackTraceInFastThrow -XX:+ExitOnOutOfMemoryError diff --git a/dolphinscheduler-api/src/main/bin/jvm_args_env.sh b/dolphinscheduler-api/src/main/bin/jvm_args_env.sh index 9d19a823f7..e10dbf2cf3 100644 --- a/dolphinscheduler-api/src/main/bin/jvm_args_env.sh +++ b/dolphinscheduler-api/src/main/bin/jvm_args_env.sh @@ -23,6 +23,7 @@ -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-%t.log +-XX:ErrorFile=java_error-%p.log -XX:-OmitStackTraceInFastThrow -XX:+ExitOnOutOfMemoryError diff --git a/dolphinscheduler-master/src/main/bin/jvm_args_env.sh b/dolphinscheduler-master/src/main/bin/jvm_args_env.sh index 0fedc71491..96496280ba 100644 --- a/dolphinscheduler-master/src/main/bin/jvm_args_env.sh +++ b/dolphinscheduler-master/src/main/bin/jvm_args_env.sh @@ -23,6 +23,7 @@ -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-%t.log +-XX:ErrorFile=java_error-%p.log -XX:-OmitStackTraceInFastThrow -XX:+ExitOnOutOfMemoryError diff --git a/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh b/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh index b0e99e28f1..53839e929c 100644 --- a/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh +++ b/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh @@ -23,6 +23,7 @@ -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-%t.log +-XX:ErrorFile=java_error-%p.log -XX:-OmitStackTraceInFastThrow -XX:+ExitOnOutOfMemoryError diff --git a/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh b/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh index b0e99e28f1..53839e929c 100644 --- a/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh +++ b/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh @@ -23,6 +23,7 @@ -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc-%t.log +-XX:ErrorFile=java_error-%p.log -XX:-OmitStackTraceInFastThrow -XX:+ExitOnOutOfMemoryError