amoro
amoro copied to clipboard
[Feature]: Support to stop/restart the optimizers when stop/restart the ams server
Description
Currently, the optimizers would not be stopped/restarted when the ams server stopped/restarted, but these are some scenarios which the optimizers need to be stopped/restarted such as we make an incompatible upgrade, or there are some critical bugs in the old version.
Use case/motivation
No response
Describe the solution
- stop the optimizers when the ams server stopped
- restart(stop + start with the new version) when restart the ams server
Subtasks
No response
Related issues
No response
Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
If anyone else is interested, please feel free to contribute. I will contribute to this if I find time(it's a little busy currently).
cool,can i try
i have question about stoping the optimizers when the ams server stopped. As i know,ams has ha, i assume when all ams server stopped then we can stop optimizers.
cool,can i try
@ihadoop Sure, please go ahead.
i have question about stoping the optimizers when the ams server stopped. As i know,ams has ha, i assume when all ams server stopped then we can stop optimizers.
from my side, the stop is here when the user calls ./bin/ams.sh stop, we can(with option) stop the optimizers also.
If you can share how to implement it before the code, it's better. thanks.
want to add stop-all.sh & start-all.sh
@klion26 could you help to check? if match you design, i will do more testing
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'