lgcareer commented on a change in pull request #7530:
URL: https://github.com/apache/dolphinscheduler/pull/7530#discussion_r773996262
##########
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();
Review comment:
Hi,I have done. please recheck it ,thx
--
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]