Skip to content

[DRAFT] Removing scheduler hard coded request timeout value #17396

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

swapsmagic
Copy link
Contributor

When coordinator gets full GC pause which lasts more than 10 second, all scheduler requests to workers times out.
This result in retrying those requests. With 100s of tasks requests retry, causing memory pressure on coordinator if it's
running on low memory machine. Removing this config to make it configurable so we can tune it per cluster.

Test plan - unit tests and verifier run

== RELEASE NOTES ==

General Changes
* Remove hard coded scheduler http client request timeout. The value can be set using `scheduler.http-client.request-timeout` 

When coordinator gets full GC pause which lasts more than 10 second, all scheduler requests to workers times out.
This result in retrying those requests. With 100s of tasks requests retry, causing memory pressure on coordinator if it's
running on low memory machine. Removing this config to make it configurable so we can tune it per cluster.
@swapsmagic swapsmagic requested a review from tdcmeehan March 3, 2022 19:32
@swapsmagic swapsmagic changed the title Removing scheduler hard coded request timeout value [DRAFT] Removing scheduler hard coded request timeout value Mar 4, 2022
@swapsmagic swapsmagic removed the request for review from tdcmeehan March 4, 2022 01:59
@stale
Copy link

stale bot commented Sep 21, 2022

This pull request has been automatically marked as stale because it has not had recent activity. If you'd still like this PR merged, please comment on the task, make sure you've addressed reviewer comments, and rebase on the latest master. Thank you for your contributions!

@stale stale bot added the stale label Sep 21, 2022
@wanglinsong wanglinsong requested a review from a team as a code owner July 6, 2024 04:32
@wanglinsong wanglinsong requested a review from presto-oss July 6, 2024 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant