[Improvement]: Flink optimizer container should be summitted in detached mode when using per-job mode
Search before asking
- [X] I have searched in the issues and found no similar issues.
What would you like to be improved?
Run flink optimizer tasks in per-job mode, if the submitted client exits unexpedtedly while the task is running, then the task fails to run due to task manger exceptions, the job manager will hang up and cannot exit
How should we improve?
Add -d to the method of FlinkOptimizerContainer#buildOptimizerStartupArgsString to make the task run in detached mode
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Subtasks
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
@luoyell by the way, flink per-job is deprecated in 1.17.if add -d maybe we need to know job what status in flink
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'