Browse Source

datasource.properties modify

qiaozhanwei 5 years ago
parent
commit
692b7acdde

+ 13 - 12
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ExecutorService.java

@@ -435,18 +435,19 @@ public class ExecutorService extends BaseService{
 
     /**
      * create command
-     *
-     * @param commandType
-     * @param processDefineId
-     * @param nodeDep
-     * @param failureStrategy
-     * @param startNodeList
-     * @param schedule
-     * @param warningType
-     * @param excutorId
-     * @param warningGroupId
-     * @param runMode
-     * @return
+     * @param commandType commandType
+     * @param processDefineId processDefineId
+     * @param nodeDep nodeDep
+     * @param failureStrategy failureStrategy
+     * @param startNodeList startNodeList
+     * @param schedule schedule
+     * @param warningType warningType
+     * @param executorId executorId
+     * @param warningGroupId warningGroupId
+     * @param runMode runMode
+     * @param processInstancePriority processInstancePriority
+     * @param workerGroup workerGroup
+     * @return command id
      * @throws ParseException
      */
     private int createCommand(CommandType commandType, int processDefineId,

+ 2 - 2
dolphinscheduler-dao/src/main/resources/datasource.properties

@@ -20,8 +20,8 @@
 #spring.datasource.driver-class-name=org.postgresql.Driver
 #spring.datasource.url=jdbc:postgresql://localhost:5432/dolphinscheduler
 # mysql
-spring.datasource.driver-class-name=com.mysql.jdbc.Driver
-spring.datasource.url=jdbc:mysql://localhost:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8
+spring.datasource.driver-class-name=org.postgresql.Driver
+spring.datasource.url=jdbc:postgresql://localhost:5432/dolphinscheduler
 spring.datasource.username=root
 spring.datasource.password=root@123