You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/08/31 11:44:17 UTC
[GitHub] [incubator-dolphinscheduler] hsupu opened a new issue #3630: [Feature][server] Fake Run Task
hsupu opened a new issue #3630:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3630
**Describe the feature**
When we run a process, a task will be directly regarded as running successfully if marked as a "fake run".
**Is your feature request related to a problem? Please describe.**
No.
**Describe the solution you'd like**
We'll archive this by two steps:
1. Marking a task as a "fake run"
2. Handling the fake-run task
3. Providing the option on web UI.
We need to handle two types of task:
1. Working on master: conditions task, dependent task, sub process task
2. Working on worker: others
In the existing design, `org.apache.dolphinscheduler.common.model.TaskNode` stores information about a task in the workflow. The member `String runFlag` in TaskNode is used for running state, and runFlag has two types of `NORMAL` and `FORBIDDEN`. We're going to add a new `FAKERUN` type to the runFlag.
Then we must pass the `FAKERUN` mark to TaskInstance when creating TaskInstance from the TaskNode. After that, according to the type of a task, skip the business code.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] hsupu edited a comment on issue #3630: [Feature][server,ui] Fake Run Task (summer 2020)
Posted by GitBox <gi...@apache.org>.
hsupu edited a comment on issue #3630:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3630#issuecomment-691456543
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] hsupu commented on issue #3630: [Feature][server,ui] Fake Run Task (summer 2020)
Posted by GitBox <gi...@apache.org>.
hsupu commented on issue #3630:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3630#issuecomment-691456543
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] hsupu edited a comment on issue #3630: [Feature][server,ui] Fake Run Task (summer 2020)
Posted by GitBox <gi...@apache.org>.
hsupu edited a comment on issue #3630:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3630#issuecomment-691456543

The preview shows as above.
If it was a normal run, `sh0` would have failed and the following condition task should have a different behavior.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] hsupu edited a comment on issue #3630: [Feature][server,ui] Fake Run Task (summer 2020)
Posted by GitBox <gi...@apache.org>.
hsupu edited a comment on issue #3630:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3630#issuecomment-691456543

The preview shows as above.
If it was a normal run, `sh0` would have failed and the following `cond0` should have a different behavior.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] hsupu commented on issue #3630: [Feature][server,ui] Fake Run Task (summer 2020)
Posted by GitBox <gi...@apache.org>.
hsupu commented on issue #3630:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3630#issuecomment-688898589

Web UI as above.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] hsupu edited a comment on issue #3630: [Feature][server,ui] Fake Run Task (summer 2020)
Posted by GitBox <gi...@apache.org>.
hsupu edited a comment on issue #3630:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3630#issuecomment-691456543
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] hsupu commented on issue #3630: [Feature][server,ui] Fake Run Task (summer 2020)
Posted by GitBox <gi...@apache.org>.
hsupu commented on issue #3630:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3630#issuecomment-691456543
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] hsupu commented on issue #3630: [Feature][server,ui] Fake Run Task (summer 2020)
Posted by GitBox <gi...@apache.org>.
hsupu commented on issue #3630:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3630#issuecomment-691456543

The preview shows as above.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] hsupu edited a comment on issue #3630: [Feature][server,ui] Fake Run Task (summer 2020)
Posted by GitBox <gi...@apache.org>.
hsupu edited a comment on issue #3630:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3630#issuecomment-688898589

The option on web UI shows as above.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org