You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ML] Refactor data frame analytics framework in steps (#67423)
This commit improves the design of the code that manages
and runs data frame analytics jobs.
First, it splits the code into asynchronous steps. At the moment,
there are only two steps: the reindexing step and the analysis
step. However, splitting the task into steps allows us to
factor out running inference into its own step which in turn
allows us to properly resume a job that failed during inference
without having to start a c++ process. I will follow with this
improvement in a follow up PR.
The other main improvement this commit does is that it simplifies
the state of a DFA task by getting rid of `reindexing` and `analyzing`
states. Now, once the task goes to `started` it stays there until
it finishes or gets stopped. The removed states are no longer useful.
They used to be useful in order to know how to resume a job before
progress was added. But currently they serve no purpose at all.
Copy file name to clipboardExpand all lines: x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/ClassificationIT.java
Copy file name to clipboardExpand all lines: x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/RegressionIT.java
Copy file name to clipboardExpand all lines: x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/RunDataFrameAnalyticsIT.java
Copy file name to clipboardExpand all lines: x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportGetDataFrameAnalyticsStatsAction.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ protected void taskOperation(GetDataFrameAnalyticsStatsAction.Request request, D
105
105
ActionListener<QueryPage<Stats>> listener) {
106
106
logger.debug("Get stats for running task [{}]", task.getParams().getId());
Copy file name to clipboardExpand all lines: x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportStartDataFrameAnalyticsAction.java
0 commit comments