mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-05 05:38:30 +08:00
update upgrade and create log tips
This commit is contained in:
parent
3286f15e87
commit
ffad909fae
@ -30,13 +30,15 @@ public class CreateEscheduler {
|
|||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
EschedulerManager eschedulerManager = new EschedulerManager();
|
EschedulerManager eschedulerManager = new EschedulerManager();
|
||||||
|
|
||||||
|
try {
|
||||||
eschedulerManager.initEscheduler();
|
eschedulerManager.initEscheduler();
|
||||||
logger.info("init escheduler finished");
|
logger.info("init escheduler finished");
|
||||||
try {
|
|
||||||
eschedulerManager.upgradeEscheduler();
|
eschedulerManager.upgradeEscheduler();
|
||||||
logger.info("upgrade escheduler finished");
|
logger.info("upgrade escheduler finished");
|
||||||
|
logger.info("create escheduler success");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("upgrade escheduler failed",e);
|
logger.error("create escheduler failed",e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ public class UpgradeEscheduler {
|
|||||||
EschedulerManager eschedulerManager = new EschedulerManager();
|
EschedulerManager eschedulerManager = new EschedulerManager();
|
||||||
try {
|
try {
|
||||||
eschedulerManager.upgradeEscheduler();
|
eschedulerManager.upgradeEscheduler();
|
||||||
logger.info("upgrade escheduler finished");
|
logger.info("upgrade escheduler success");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error(e.getMessage(),e);
|
logger.error(e.getMessage(),e);
|
||||||
logger.info("Upgrade escheduler failed");
|
logger.info("Upgrade escheduler failed");
|
||||||
|
Loading…
Reference in New Issue
Block a user