1. DS 的api 調(diào)用
1.1 參考資料
1.對(duì)應(yīng)的api 接口文檔: http://192.168.1.163:12345/dolphinscheduler/doc.html
2. 查看源碼:https://github.com/apache/dolphinscheduler (找到對(duì)應(yīng)的版本下載)
2.api 調(diào)用:
ds 執(zhí)行任務(wù)調(diào)用0001.png
ds執(zhí)行任務(wù)調(diào)用header.png
3. 參數(shù)解釋
key | value | 解釋 |
---|---|---|
executeType | REPEAT_RUNNING | NONE,REPEAT_RUNNING, RECOVER_SUSPENDED_PROCESS, START_FAILURE_TASK_PROCESS, STOP, PAUSE |
processInstanceId | 10 | 實(shí)例id 可以通過看界面也可以通過冀泻,從數(shù)據(jù)庫(kù)看(t_ds_process_instance 表的id) |
projectName | test-flink | 項(xiàng)目名稱 |
executeType | REPEAT_RUNNING | REPEAT_RUNNING |
4. api
ds任務(wù)執(zhí)行api.png
5. 看源碼
ds 執(zhí)行看源碼idea.png
ds 源碼service.png
6.通過源碼可以看到對(duì)應(yīng)的數(shù)據(jù)庫(kù)
ds 對(duì)應(yīng)的數(shù)據(jù)庫(kù).png
思路:
參考api 文檔 --- > 看源碼 ---> 看數(shù)據(jù)庫(kù) --> 看界面的值