mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-05 13:48:10 +08:00
[Fix-10412] [Standalone] Failed to start standalone server according to the official document (#10414)
* fix bug_10412
* fix bug_10412
(cherry picked from commit f4dad689d4
)
This commit is contained in:
parent
248a85daab
commit
df0735273b
@ -19,6 +19,7 @@
|
|||||||
BIN_DIR=$(dirname $0)
|
BIN_DIR=$(dirname $0)
|
||||||
DOLPHINSCHEDULER_HOME=${DOLPHINSCHEDULER_HOME:-$(cd $BIN_DIR/..; pwd)}
|
DOLPHINSCHEDULER_HOME=${DOLPHINSCHEDULER_HOME:-$(cd $BIN_DIR/..; pwd)}
|
||||||
|
|
||||||
|
export DATABASE=${DATABASE:-h2}
|
||||||
source "$DOLPHINSCHEDULER_HOME/conf/dolphinscheduler_env.sh"
|
source "$DOLPHINSCHEDULER_HOME/conf/dolphinscheduler_env.sh"
|
||||||
|
|
||||||
JAVA_OPTS=${JAVA_OPTS:-"-server -Duser.timezone=${SPRING_JACKSON_TIME_ZONE} -Xms1g -Xmx1g -Xmn512m -XX:+PrintGCDetails -Xloggc:gc.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof"}
|
JAVA_OPTS=${JAVA_OPTS:-"-server -Duser.timezone=${SPRING_JACKSON_TIME_ZONE} -Xms1g -Xmx1g -Xmn512m -XX:+PrintGCDetails -Xloggc:gc.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof"}
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
BIN_DIR=$(dirname $0)
|
BIN_DIR=$(dirname $0)
|
||||||
DOLPHINSCHEDULER_HOME=${DOLPHINSCHEDULER_HOME:-$(cd $BIN_DIR/..; pwd)}
|
DOLPHINSCHEDULER_HOME=${DOLPHINSCHEDULER_HOME:-$(cd $BIN_DIR/..; pwd)}
|
||||||
|
|
||||||
|
export DATABASE=${DATABASE:-h2}
|
||||||
source "$DOLPHINSCHEDULER_HOME/conf/dolphinscheduler_env.sh"
|
source "$DOLPHINSCHEDULER_HOME/conf/dolphinscheduler_env.sh"
|
||||||
|
|
||||||
JAVA_OPTS=${JAVA_OPTS:-"-server -Duser.timezone=${SPRING_JACKSON_TIME_ZONE} -Xms1g -Xmx1g -Xmn512m -XX:+PrintGCDetails -Xloggc:gc.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof"}
|
JAVA_OPTS=${JAVA_OPTS:-"-server -Duser.timezone=${SPRING_JACKSON_TIME_ZONE} -Xms1g -Xmx1g -Xmn512m -XX:+PrintGCDetails -Xloggc:gc.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof"}
|
||||||
|
@ -195,6 +195,11 @@ spring:
|
|||||||
quartz:
|
quartz:
|
||||||
properties:
|
properties:
|
||||||
org.quartz.jobStore.driverDelegateClass: org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
|
org.quartz.jobStore.driverDelegateClass: org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
|
||||||
|
datasource:
|
||||||
|
driver-class-name: org.postgresql.Driver
|
||||||
|
url: jdbc:postgresql://127.0.0.1:5432/dolphinscheduler
|
||||||
|
username: root
|
||||||
|
password: root
|
||||||
|
|
||||||
---
|
---
|
||||||
spring:
|
spring:
|
||||||
|
Loading…
Reference in New Issue
Block a user