Skip to content

Conversation

@bbeaudreault
Copy link
Member

@bbeaudreault bbeaudreault commented Apr 17, 2024

This adds a /health http endpoint to the regionserver and hmaster. In both cases, the default behavior checks that the server is online and not being aborted, as well as issues an rpc call to itself (through its rpc port/scheduler/handlers). In addition, for the hmaster, if the hmaster is considered active it also tries fetching something from ClusterMetrics.

There may be more we want to add on to this at some point, but this seems a good start

@bbeaudreault bbeaudreault added the upstream The changes in this PR should submitted upstream once ready label Apr 18, 2024
@bbeaudreault bbeaudreault merged commit 9a76c10 into hubspot-2.5 Apr 18, 2024
@bbeaudreault bbeaudreault deleted the healthcheck branch April 18, 2024 12:54
bbeaudreault added a commit that referenced this pull request May 14, 2024
ndimiduk pushed a commit that referenced this pull request Sep 23, 2024
ndimiduk pushed a commit that referenced this pull request Sep 23, 2024
Original PRs:
- Basic healthcheck servlets (#90)
- Reuse some healthcheck code (#91)
ndimiduk pushed a commit that referenced this pull request Sep 23, 2024
Original PRs:
- Basic healthcheck servlets (#90)
- Reuse some healthcheck code (#91)
ndimiduk pushed a commit that referenced this pull request Sep 23, 2024
Original PRs:
- Basic healthcheck servlets (#90)
- Reuse some healthcheck code (#91)
ndimiduk pushed a commit that referenced this pull request Sep 25, 2024
Original PRs:
- Basic healthcheck servlets (#90)
- Reuse some healthcheck code (#91)
ndimiduk pushed a commit that referenced this pull request Sep 27, 2024
Original PRs:
- Basic healthcheck servlets (#90)
- Reuse some healthcheck code (#91)
ndimiduk pushed a commit that referenced this pull request Oct 1, 2024
Original PRs:
- Basic healthcheck servlets (#90)
- Reuse some healthcheck code (#91)
ndimiduk pushed a commit that referenced this pull request Oct 14, 2024
Original PRs:
- Basic healthcheck servlets (#90)
- Reuse some healthcheck code (#91)
charlesconnell pushed a commit that referenced this pull request Dec 20, 2024
@charlesconnell
Copy link
Collaborator

@bbeaudreault I'm working on hubspot's 2.6.1 release. For my bookkeeping, is there an upstream counterpart to this change?

@bbeaudreault
Copy link
Member Author

No, unfortunately I never got around to upstreaming this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upstream The changes in this PR should submitted upstream once ready

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants