dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug] [Master] When I complement data , startup parameters don't take effect

Open bukeliyu opened this issue 4 years ago • 3 comments

Search before asking

  • [x] I had searched in the issues and found no similar issues.

What happened

dolphinscheduler 版本2.0.5 集群模式部署,工作流配置了全局参数,手动点击执行并选择补数时,启动参数不生效。 这个问题在本地测试时没有复现。

What you expected to happen

查看master日志发现,master可以拿到启动参数的值,但是没有传递给worker image

How to reproduce

我的部署环境为4台机器,启动2个master,4个worker进程 在页面上新建一个shell任务,输出一个参数,类似 echo "${data}" 在工作流添加一个全局变量 在启动任务时勾选补数,并设置启动参数为非默认值,查看日志并不能输出正确的启动参数

Anything else

No response

Version

2.0.5

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

bukeliyu avatar Jun 15 '22 03:06 bukeliyu

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

Dolphinscheduler version 2.0.5 is deployed in cluster mode. The workflow is configured with global parameters. When you manually click to execute and select the complement, the startup parameters will not take effect. This problem did not reproduce when testing locally.

What you expected to happen

Looking at the master log, it is found that the master can get the value of the startup parameter, but it is not passed to the worker image

How to reproduce

My deployment environment is 4 machines, starting 2 masters and 4 worker processes Create a new shell task on the page and output a parameter, similar to echo "${data}" Add a global variable to the workflow Check the complement number when starting the task, and set the startup parameters to non-default values. Viewing the log does not output the correct startup parameters.

Anything else

No response

Version

2.0.5

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

github-actions[bot] avatar Jun 15 '22 03:06 github-actions[bot]

Thank you for your feedback, we have received your issue, Please wait patiently for a reply.

  • In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
  • If you haven't received a reply for a long time, you can join our slack and send your question to channel #troubleshooting

github-actions[bot] avatar Jun 15 '22 03:06 github-actions[bot]

It has been fixed in version 3.0.0-beta-1-release

bukeliyu avatar Jun 16 '22 07:06 bukeliyu