Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Forward porting ultrawarm integration #125

Merged
merged 2 commits into from
May 19, 2020

Conversation

kaituo
Copy link
Member

@kaituo kaituo commented May 19, 2020

Issue #, if available:

Description of changes:

This PR includes:

  • Forward porting 80997fd and fbc8a4e
  • Remove unused fields in rest handler and AnomalyDetectionIndices

Testing done:

  1. Manually tested a few public APIs.
  2. gradle build

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

kaituo added 2 commits May 18, 2020 23:29
Ultrawarm introduces warm nodes into the ES cluster. Currently, we distribute model partitions to all data nodes in the cluster randomly, which could cause a model performance downgrade issue once warm nodes are throttled due to resource limitations. The PR excludes warm nodes to place model partitions.

Since index shards are hosted on hot nodes, AD's coordinating nodes are in hot nodes as well. We don't need to send HourlyCron job and stats requests to warm nodes anymore. This PR implements those changes.

Testing done:
1. Verified AD runs only in hot nodes.
2. stats API and HourlyCron still works.
This is a follow up PR to address comments.

Testing done:
1. gradle build passes
2. Verified AD runs only in hot nodes.
3. stats API and HourlyCron still works.
@kaituo kaituo merged commit 9b14cd6 into opendistro-for-elasticsearch:master May 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants