dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Question] Specify the process worker group and it does not work

Open oceanos opened this issue 6 years ago • 5 comments

Describe When the worker group already exists on the task node, the worker group specified on the workflow does not take effect

Reproduce Steps to reproduce the behavior, for example:

  1. define process and specify task node worker group image

  2. run process and specify process worker group image

  3. flink task instance was executed on node-31

Expected behavior

  1. Shouldn't it beexecuted on node-32
  2. When does the worker group on the process take effect?

Which version of Dolphin Scheduler: -[1.2.0]

Additional context #815

oceanos avatar Mar 27 '20 11:03 oceanos

I will fix it

zixi0825 avatar Mar 28 '20 08:03 zixi0825

What should be the right worker group priority? Process priority > Task priority or Task priority> Process priority?

zixi0825 avatar Apr 01 '20 10:04 zixi0825

In my opinion

The priority design of worker group should be as follows:

  • If you do not specify the priority of the task and choose default, the workflow's worker group will be used

  • If you have specified a worker group for the task when you configure the task, the worker group in the task configuration will be used


在我看来 worker group 优先级的设计应该是这样的:

  • 如果你没有指定任务的优先级,选择default的话,那么任务会采用工作流的worker group
  • 如果你在配置任务时已经为任务指定了worker group ,那么会采用任务配置中的worker group

zixi0825 avatar Apr 01 '20 10:04 zixi0825

In my opinion

The priority design of worker group should be as follows:

  • If you do not specify the priority of the task and choose default, the workflow's worker group will be used
  • If you have specified a worker group for the task when you configure the task, the worker group in the task configuration will be used

在我看来 worker group 优先级的设计应该是这样的:

  • 如果你没有指定任务的优先级,选择default的话,那么任务会采用工作流的worker group
  • 如果你在配置任务时已经为任务指定了worker group ,那么会采用任务配置中的worker group

I think your idea is right, DS's origin design just like this

davidzollo avatar Apr 01 '20 15:04 davidzollo

this is not a bug, DS's origin design just like this

davidzollo avatar Jun 19 '20 06:06 davidzollo