apache / dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code

Home Page:https://dolphinscheduler.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] [worker] The RemoteShellTask `getTaskExitCode` method may encounter situations where it cannot retrieve the exit code properly.

Zzih96 opened this issue · comments

Search before asking

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

What happened

The RemoteShellTask getTaskExitCode method may encounter situations where it cannot retrieve the exit code properly.

For example, in the following code, when curl returns a value, the exit code may not be parsed correctly.
image
image
image

What you expected to happen

see above

How to reproduce

see above

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct