[Task] Add Dinky task to better support the development and execution of FlinkSQL#10640
[Task] Add Dinky task to better support the development and execution of FlinkSQL#10640zhongjiajie merged 8 commits intoapache:devfrom
Conversation
…t and execution of FlinkSQL
|
demo-get-dinky-task-id(../../../../img/tasks/demo/dinky_task_id.png) |
Codecov Report
@@ Coverage Diff @@
## dev #10640 +/- ##
============================================
- Coverage 40.94% 40.90% -0.05%
+ Complexity 4876 4830 -46
============================================
Files 895 897 +2
Lines 36212 36158 -54
Branches 3987 4006 +19
============================================
- Hits 14826 14789 -37
+ Misses 19921 19898 -23
- Partials 1465 1471 +6
Continue to review full report at Codecov.
|
...eduler-task-dinky/src/main/java/org/apache/dolphinscheduler/plugin/task/dinky/DinkyTask.java
Outdated
Show resolved
Hide resolved
...eduler-task-dinky/src/main/java/org/apache/dolphinscheduler/plugin/task/dinky/DinkyTask.java
Outdated
Show resolved
Hide resolved
...eduler-task-dinky/src/main/java/org/apache/dolphinscheduler/plugin/task/dinky/DinkyTask.java
Outdated
Show resolved
Hide resolved
Please fix the bugs. |
...task-dinky/src/main/java/org/apache/dolphinscheduler/plugin/task/dinky/DinkyTaskChannel.java
Show resolved
Hide resolved
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-dinky.ts
Outdated
Show resolved
Hide resolved
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-dinky.ts
Outdated
Show resolved
Hide resolved
|
Hi. Please review the new code. thx. @Amy0104 |
|
@zhongjiajie PTAL. |
docs/docs/en/guide/task/dinky.md
Outdated
| - Node name: The node name in a workflow definition is unique. | ||
| - Run flag: Identifies whether this node can be scheduled normally, if it does not need to be executed, you can turn on the prohibition switch. | ||
| - Descriptive information: Describe the function of the node. | ||
| - Task priority: When the number of worker threads is insufficient, execute in the order of priority from high to low, and tasks with the same priority will execute in a first-in first-out order. | ||
| - Worker grouping: Assign tasks to the machines of the worker group to execute. If `Default` is selected, randomly select a worker machine for execution. | ||
| - Number of failed retry attempts: The failure task resubmitting times. It supports drop-down and hand-filling. | ||
| - Failed retry interval: The time interval for resubmitting the task after a failed task. It supports drop-down and hand-filling. | ||
| - Timeout alarm: Check the timeout alarm and timeout failure. When the task exceeds the "timeout period", an alarm email will send and the task execution will fail. | ||
| - Dinky Address: The url for a dinky server. | ||
| - Dinky Task ID: The unique task id for a dinky task. | ||
| - Online Task: Specify whether the current dinky job is online. If yes, the submitted job can only be submitted successfully when it is published and there is no corresponding Flink job instance running. |
There was a problem hiding this comment.
currently, all our English version tasks parameters convert from list style to table format style, which you can see example in https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/guide/task/shell.md. So please change to a table format in English version of docs. And it is up to you whether change Chinese version of docs
|
SonarCloud Quality Gate failed. |
|
Hi. Please review the new docs. thx. @zhongjiajie |
|
Thanks for bringing this up |
… of FlinkSQL (apache#10640) # Conflicts: # docs/configs/docsdev.js # dolphinscheduler-task-plugin/dolphinscheduler-task-all/pom.xml # dolphinscheduler-task-plugin/pom.xml # dolphinscheduler-ui/src/views/projects/task/components/node/fields/index.ts # dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts # dolphinscheduler-ui/src/views/projects/task/components/node/tasks/index.ts # dolphinscheduler-ui/src/views/projects/task/components/node/types.ts # dolphinscheduler-ui/src/views/projects/task/constants/task-type.ts # dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag.module.scss 3.0.1 合并dinky的代码.








Purpose of the pull request
Add Dinky task to better support the development and execution of FlinkSQL.
close #10444
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows: