SbloodyS commented on issue #10037: URL: https://github.com/apache/dolphinscheduler/issues/10037#issuecomment-1127291845
> Thanks for your tips.I found some error log from upgraded log. Only 1.3.7 to 2.0.0 print some error infos. > > ``` > 2022-05-11 16:20:09.805 INFO 24158 --- [ main] o.a.d.d.upgrade.DolphinSchedulerManager : upgrade DolphinScheduler metadata version from 1.3.7 to 2.0.0 > ``` > > ... some normal logs are omitted > > ``` > 2022-05-11 16:34:11.096 INFO 24158 --- [ main] o.a.d.dao.upgrade.UpgradeDao : sqlSQLFilePathclass path resource [sql/upgrade/2.0.0_schema/mysql/dolphinscheduler_dml.sql] > 2022-05-11 16:34:12.955 ERROR 24158 --- [ main] o.a.d.dao.upgrade.UpgradeDao : json split error > > java.lang.NullPointerException: null > at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.convertDependence(UpgradeDao.java:602) [dolphinscheduler-dao-2.0.5.jar:2.0.5] > at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.processDefinitionJsonSplit(UpgradeDao.java:406) [dolphinscheduler-dao-2.0.5.jar:2.0.5] > at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinSchedulerTo200(UpgradeDao.java:149) [dolphinscheduler-dao-2.0.5.jar:2.0.5] > at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.upgradeDolphinScheduler(DolphinSchedulerManager.java:111) [dolphinscheduler-dao-2.0.5.jar:2.0.5] > at org.apache.dolphinscheduler.dao.upgrade.shell.UpgradeDolphinScheduler$UpgradeRunner.run(UpgradeDolphinScheduler.java:55) [dolphinscheduler-dao-2.0.5.jar:2.0.5] > at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:791) [spring-boot-2.5.6.jar:2.5.6] > at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:775) [spring-boot-2.5.6.jar:2.5.6] > at org.springframework.boot.SpringApplication.run(SpringApplication.java:345) [spring-boot-2.5.6.jar:2.5.6] > at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:143) [spring-boot-2.5.6.jar:2.5.6] > at org.apache.dolphinscheduler.dao.upgrade.shell.UpgradeDolphinScheduler.main(UpgradeDolphinScheduler.java:39) [dolphinscheduler-dao-2.0.5.jar:2.0.5] > ``` It should not upgrading from 1.3.7 to 2.0.0. It should be 1.3.9. There may be some incompatible with the old versions. You can try to upgrade to 1.3.7 from 1.3.5 firstly. And then upgrade from 1.3.7 to 1.3.9. And then upgrade from 1.3.9 to 2.0.5. I think these upgrade steps should work. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
