Modify the following properties in conf/datasource.properties.
If you use MySQL as the database to run DolphinScheduler, please comment out PostgreSQL related configurations, and add mysql connector jar into lib dir, here we download mysql-connector-java-5.1.47.jar, and then correctly config database connect information. You can download mysql connector jar here. Alternatively, if you use Postgres as database, you just need to comment out Mysql related configurations, and correctly config database connect information.
# postgre #spring.datasource.driver-class-name=org.postgresql.Driver #spring.datasource.url=jdbc:postgresql://localhost:5432/dolphinscheduler # mysql =com.mysql.jdbc.Driver =jdbc:mysql://xxx:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true =xxx =xxx
Execute database upgrade script
Create worker group in 1.3.1 version has different design:
1, Go to the backup database, search records in t_ds_worker_group table, mainly focus id, name and IP three columns.
2、Modify the workers config item in conf/config/install_config.conf file.
Imaging bellow are the machine worker service to be deployed:
To keep worker group config consistent with the previous version, we need to modify workers config item as below:
worker service is deployed on which machine, and also specify which worker group this worker belongs to. workers="ds1:service1,ds2:service2,ds3:service2"
Worker in 1.3.1 can't belong to more than one worker group, in 1.3.2 it's supported. So in 1.3.1 it's not supported when workers="ds1:service1,ds1:service2", and in 1.3.2 it's supported.