Skip to content
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

[ML] Show warning when the model memory limit is higher than the memory available in the ML node #65652

Merged
merged 8 commits into from
May 8, 2020

Conversation

jgowdyelastic
Copy link
Member

@jgowdyelastic jgowdyelastic commented May 7, 2020

If the user inputted mml is greater than the effective max mml from the ML node, a warning is shown.

image

Also ensures the estimated mml is never greater than the effective max mml.

Fixes #63942
Relates to elastic/elasticsearch#55529

Summary

Summarize your PR. If it involves visual changes include a screenshot or gif.

@jgowdyelastic jgowdyelastic marked this pull request as ready for review May 7, 2020 11:22
@jgowdyelastic jgowdyelastic requested a review from a team as a code owner May 7, 2020 11:22
@jgowdyelastic jgowdyelastic self-assigned this May 7, 2020
@jgowdyelastic jgowdyelastic added :ml bug Fixes for quality problems that affect the customer experience Feature:Anomaly Detection ML anomaly detection review v7.8.0 v8.0.0 labels May 7, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@jgowdyelastic
Copy link
Member Author

cc @droberts195

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qn895
Copy link
Member

qn895 commented May 7, 2020

LGTM

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@alvarezmelissa87 alvarezmelissa87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ⚡

@jgowdyelastic jgowdyelastic merged commit 75e12db into elastic:master May 8, 2020
@jgowdyelastic jgowdyelastic deleted the effective-max-mml-check branch May 8, 2020 12:13
jgowdyelastic added a commit to jgowdyelastic/kibana that referenced this pull request May 8, 2020
…ry available in the ML node (elastic#65652)

* [ML] Show warning when the model memory limit is higher than the memory available in the ML node

* reverting UI check

* removing from UI job validator

* adding cap to estimate mml

* adding mml value to message

* fixing translations

* updating translations

* fixing translation ids
jgowdyelastic added a commit to jgowdyelastic/kibana that referenced this pull request May 8, 2020
…ry available in the ML node (elastic#65652)

* [ML] Show warning when the model memory limit is higher than the memory available in the ML node

* reverting UI check

* removing from UI job validator

* adding cap to estimate mml

* adding mml value to message

* fixing translations

* updating translations

* fixing translation ids
walterra added a commit that referenced this pull request May 11, 2020
#65967)

Adapt jest test mocks to consider update introduced in #65652.
walterra added a commit to walterra/kibana that referenced this pull request May 11, 2020
elastic#65967)

Adapt jest test mocks to consider update introduced in elastic#65652.
# Conflicts:
#	x-pack/plugins/ml/server/models/job_validation/job_validation.test.ts
walterra added a commit that referenced this pull request May 11, 2020
#65967) (#65983)

Adapt jest test mocks to consider update introduced in #65652.
walterra added a commit that referenced this pull request May 11, 2020
#65967) (#65984)

Adapt jest test mocks to consider update introduced in #65652.
jgowdyelastic added a commit that referenced this pull request May 11, 2020
…ry available in the ML node (#65652) (#65842)

* [ML] Show warning when the model memory limit is higher than the memory available in the ML node

* reverting UI check

* removing from UI job validator

* adding cap to estimate mml

* adding mml value to message

* fixing translations

* updating translations

* fixing translation ids

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
jgowdyelastic added a commit that referenced this pull request May 11, 2020
…ry available in the ML node (#65652) (#65841)

* [ML] Show warning when the model memory limit is higher than the memory available in the ML node

* reverting UI check

* removing from UI job validator

* adding cap to estimate mml

* adding mml value to message

* fixing translations

* updating translations

* fixing translation ids

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Anomaly Detection ML anomaly detection :ml release_note:fix review v7.8.0 v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ML] Warn the user when the model memory limit is higher than the memory available in the ML node
6 participants