Skip to content

Conversation

@dimitris-athanasiou
Copy link
Contributor

In #67623 I moved persisting the data counts at the end of a
data frame analytics job into a FinalStep class. However,
I forgot to execute the index request with ML origin resulting
in authentication problems if the user that runs the DFA job
does not have read privileges in the ML stats index.

This commit fixes this by executing that index request with ML
origin.

Backport of #67674

…ic#67674)

In elastic#67623 I moved persisting the data counts at the end of a
data frame analytics job into a `FinalStep` class. However,
I forgot to execute the index request with ML origin resulting
in authentication problems if the user that runs the DFA job
does not have read privileges in the ML stats index.

This commit fixes this by executing that index request with ML
origin.

Backport of elastic#67674
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@dimitris-athanasiou dimitris-athanasiou merged commit f5b67bb into elastic:7.x Jan 19, 2021
@dimitris-athanasiou dimitris-athanasiou deleted the persist-data-counts-in-dfa-final-step-with-ml-origin-7x branch January 19, 2021 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants