diff --git a/plugin/src/main/java/org/elasticsearch/xpack/ml/action/OpenJobAction.java b/plugin/src/main/java/org/elasticsearch/xpack/ml/action/OpenJobAction.java index bfef115bb1e..00c7e0d9562 100644 --- a/plugin/src/main/java/org/elasticsearch/xpack/ml/action/OpenJobAction.java +++ b/plugin/src/main/java/org/elasticsearch/xpack/ml/action/OpenJobAction.java @@ -6,6 +6,7 @@ package org.elasticsearch.xpack.ml.action; import org.apache.logging.log4j.Logger; +import org.elasticsearch.ElasticsearchException; import org.elasticsearch.ElasticsearchStatusException; import org.elasticsearch.action.Action; import org.elasticsearch.action.ActionListener; @@ -336,6 +337,12 @@ public class OpenJobAction extends Action + { + "indexes":["utopia"] + } + + - do: + xpack.ml.open_job: + job_id: "datafeed-job" + + - do: + catch: /No node found to start datafeed \[datafeed-1\].*\[utopia\] does not exist.*/ + xpack.ml.start_datafeed: + datafeed_id: "datafeed-1"