lgcareer commented on a change in pull request #7530:
URL: https://github.com/apache/dolphinscheduler/pull/7530#discussion_r773973958
##########
File path:
dolphinscheduler-tools/src/main/java/org/apache/dolphinscheduler/tools/datasource/CreateDolphinScheduler.java
##########
@@ -42,10 +42,14 @@ public static void main(String[] args) {
@Override
public void run(String... args) throws Exception {
+ if (dolphinSchedulerManager.schemaIsInitialized()) {
+ dolphinSchedulerManager.upgradeDolphinScheduler();
+ logger.info("upgrade DolphinScheduler finished");
+ } else {
+ dolphinSchedulerManager.initDolphinScheduler();
+ }
dolphinSchedulerManager.initDolphinScheduler();
logger.info("init DolphinScheduler finished");
Review comment:
Great,I refetched the dev branch,DolphinSchedulerManager class can't
import the UpgradeDao.

--
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]