Skip to content

Conversation

@dimitris-athanasiou
Copy link
Contributor

…49186)

This commit fixes a NPE problem as reported in #49150.
But this problem uncovered that we never added proper handling
of state for data frame analytics tasks.

In this commit we improve the MlTasks.getDataFrameAnalyticsState
method to handle null tasks and state tasks properly.

Closes #49150

Backport of #49186

…lastic#49186)

This commit fixes a NPE problem as reported in elastic#49150.
But this problem uncovered that we never added proper handling
of state for data frame analytics tasks.

In this commit we improve the `MlTasks.getDataFrameAnalyticsState`
method to handle null tasks and state tasks properly.

Closes elastic#49150

Backport of elastic#49186
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@dimitris-athanasiou dimitris-athanasiou merged commit 805c31e into elastic:7.x Nov 18, 2019
@dimitris-athanasiou dimitris-athanasiou deleted the avoid-npe-when-node-load-is-calculated-on-job-assignment-7x branch November 18, 2019 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport >bug :ml Machine learning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants