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] Allow force stop job action on DFA job failure #72661

Closed
valeriy42 opened this issue Jul 21, 2020 · 3 comments · Fixed by #74710
Closed

[ML] Allow force stop job action on DFA job failure #72661

valeriy42 opened this issue Jul 21, 2020 · 3 comments · Fixed by #74710
Assignees
Labels
Feature:Data Frame Analytics ML data frame analytics features :ml v7.10.0

Comments

@valeriy42
Copy link
Contributor

The current editing behavior (not allowing edits on particular fields when the job is not stopped) is consistent with anomaly explorer jobs as well. Could force stopping a job under the hood perhaps lead to unintended side effects? Unintended on the users' side if they don't understand exactly what that entails.

It might be best to show a Stop job or Force stop job button that the user has to explicitly interact with in order to be able to then edit the fields. Then we could also add a tooltip or warning text.

cc @alvarezmelissa87

@valeriy42 valeriy42 added :ml Feature:Data Frame Analytics ML data frame analytics features labels Jul 21, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@peteharverson peteharverson changed the title [ML] Allow forst stop job action on DFA job failure [ML] Allow force stop job action on DFA job failure Jul 21, 2020
@sophiec20
Copy link
Contributor

Another reason for allowing user to force stop a failed-job from the UI:

When using least privileges in a Kibana Space, a user who has been granted All Machine Learning Kibana Space privilege cannot revert to using the Dev Console to _stop?force a job that has failed.

In order to do this, they would need to be granted machine_learning_admin elasticsearch privileges as well as having Dev Tools Space privilege.

@alvarezmelissa87
Copy link
Contributor

Solution in the works #74710
cc @valeriy42

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 v7.10.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants