|
|
@ -18,11 +18,10 @@ |
|
|
|
|
|
|
|
|
|
|
|
BIN_DIR=$(dirname $0) |
|
|
|
BIN_DIR=$(dirname $0) |
|
|
|
DOLPHINSCHEDULER_HOME=${DOLPHINSCHEDULER_HOME:-$(cd $BIN_DIR/../..; pwd)} |
|
|
|
DOLPHINSCHEDULER_HOME=${DOLPHINSCHEDULER_HOME:-$(cd $BIN_DIR/../..; pwd)} |
|
|
|
|
|
|
|
source "$DOLPHINSCHEDULER_HOME/tools/bin/dolphinscheduler_env.sh" |
|
|
|
source "$DOLPHINSCHEDULER_HOME/bin/env/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"} |
|
|
|
|
|
|
|
|
|
|
|
java $JAVA_OPTS \ |
|
|
|
java $JAVA_OPTS \ |
|
|
|
-cp "$DOLPHINSCHEDULER_HOME/conf":"$DOLPHINSCHEDULER_HOME/tools/libs/*":"$DOLPHINSCHEDULER_HOME/tools/sql" \ |
|
|
|
-cp "$DOLPHINSCHEDULER_HOME/tools/conf":"$DOLPHINSCHEDULER_HOME/tools/libs/*":"$DOLPHINSCHEDULER_HOME/tools/sql" \ |
|
|
|
org.apache.dolphinscheduler.tools.datasource.CreateDolphinScheduler |
|
|
|
org.apache.dolphinscheduler.tools.datasource.CreateDolphinScheduler |
|
|
|