This is an automated email from the ASF dual-hosted git repository.

caishunfeng pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new a863c6f8f1 [Bug][DAO] Update db init script and soft_version (#9628) 
(#9637)
a863c6f8f1 is described below

commit a863c6f8f121869a107611e1217c669da28c3d3e
Author: Eric Gao <[email protected]>
AuthorDate: Thu Apr 21 11:01:19 2022 +0800

    [Bug][DAO] Update db init script and soft_version (#9628) (#9637)
---
 dolphinscheduler-dao/src/main/resources/sql/soft_version | 2 +-
 dolphinscheduler-tools/src/main/bin/create-schema.sh     | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dolphinscheduler-dao/src/main/resources/sql/soft_version 
b/dolphinscheduler-dao/src/main/resources/sql/soft_version
index 2165f8f9b6..4a36342fca 100644
--- a/dolphinscheduler-dao/src/main/resources/sql/soft_version
+++ b/dolphinscheduler-dao/src/main/resources/sql/soft_version
@@ -1 +1 @@
-2.0.4
+3.0.0
diff --git a/dolphinscheduler-tools/src/main/bin/create-schema.sh 
b/dolphinscheduler-tools/src/main/bin/create-schema.sh
index bfca27f9c1..e8eb6e3d5d 100755
--- a/dolphinscheduler-tools/src/main/bin/create-schema.sh
+++ b/dolphinscheduler-tools/src/main/bin/create-schema.sh
@@ -18,11 +18,10 @@
 
 BIN_DIR=$(dirname $0)
 DOLPHINSCHEDULER_HOME=${DOLPHINSCHEDULER_HOME:-$(cd $BIN_DIR/../..; pwd)}
-
-source "$DOLPHINSCHEDULER_HOME/bin/env/dolphinscheduler_env.sh"
+source "$DOLPHINSCHEDULER_HOME/tools/bin/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 $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

Reply via email to