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] DF Analytics creation and update: adds max_num_threads #71318

Conversation

alvarezmelissa87
Copy link
Contributor

@alvarezmelissa87 alvarezmelissa87 commented Jul 9, 2020

Summary

Job edit meta issue #70354

This PR:

  • Adds max_num_threads to the analytics job wizard and the job editor flyout.
  • max_num_threads defaults to 1 and cannot be 0. It can only be updated when job is stopped.
  • switches to EuiFlexGrid for advanced step form columns

Job wizard:

image

image

Edit flyout:

image

Checklist

Delete any items that are not applicable to this PR.

@alvarezmelissa87 alvarezmelissa87 added :ml release_note:skip Skip the PR/issue when compiling release notes Feature:Data Frame Analytics ML data frame analytics features v7.9.0 labels Jul 9, 2020
@alvarezmelissa87 alvarezmelissa87 requested a review from a team as a code owner July 9, 2020 20:42
@alvarezmelissa87 alvarezmelissa87 self-assigned this Jul 9, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@alvarezmelissa87 alvarezmelissa87 force-pushed the ml-dfanalytics-update-job-update branch from 04731e0 to e070ed4 Compare July 13, 2020 13:50
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

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

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.

Code LGTM.

})}
helpText={i18n.translate('xpack.ml.dataframe.analytics.create.maxNumThreadsHelpText', {
defaultMessage:
'The maximum number of threads to be used by the analysis. The default value is 1',
Copy link
Member

Choose a reason for hiding this comment

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

I think this message should have a period at the end for consistency with the rest

@qn895
Copy link
Member

qn895 commented Jul 13, 2020

Code LGTM. Just a minor comment.

@alvarezmelissa87 alvarezmelissa87 merged commit 1b1962f into elastic:master Jul 13, 2020
@alvarezmelissa87 alvarezmelissa87 deleted the ml-dfanalytics-update-job-update branch July 13, 2020 20:51
alvarezmelissa87 added a commit to alvarezmelissa87/kibana that referenced this pull request Jul 13, 2020
…c#71318)

* add max_num_threads to edit flyout

* add maxNumThreads setting to job wizard

* add maxNumThreads to cloning
alvarezmelissa87 added a commit to alvarezmelissa87/kibana that referenced this pull request Jul 13, 2020
…c#71318)

* add max_num_threads to edit flyout

* add maxNumThreads setting to job wizard

* add maxNumThreads to cloning
alvarezmelissa87 added a commit to alvarezmelissa87/kibana that referenced this pull request Jul 13, 2020
…c#71318)

* add max_num_threads to edit flyout

* add maxNumThreads setting to job wizard

* add maxNumThreads to cloning
alvarezmelissa87 added a commit to alvarezmelissa87/kibana that referenced this pull request Jul 14, 2020
…c#71318)

* add max_num_threads to edit flyout

* add maxNumThreads setting to job wizard

* add maxNumThreads to cloning
alvarezmelissa87 added a commit that referenced this pull request Jul 14, 2020
#71541)

* add max_num_threads to edit flyout

* add maxNumThreads setting to job wizard

* add maxNumThreads to cloning

Co-authored-by: Elastic Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Data Frame Analytics ML data frame analytics features :ml release_note:skip Skip the PR/issue when compiling release notes v7.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants