OpenSearch/elasticsearch
Dimitris Athanasiou 26e3ca9155 Make close job a master node action (elastic/elasticsearch#362)
* Make close job a master node action

The close job action now:

 - Is a master node action
 - Sets the job status to CLOSING
 - Waits for the job status to change to CLOSED before it responds

JobLifeCycleService picks up on a job status change to CLOSING and
closes the job. At the end, it sets the job status to CLOSED.

* Assert job status is closed after close in integration test

This also correctly passes an ActionListener to JobManager.setJobStatus
in order to ensure the job status request has completed and to properly
propagate failures.

Original commit: elastic/x-pack-elasticsearch@1546c77fca
2016-11-24 14:59:25 +00:00
..
licenses Moves Java code to fit x-pack style structure 2016-11-18 16:35:00 +00:00
src Make close job a master node action (elastic/elasticsearch#362) 2016-11-24 14:59:25 +00:00
.gitignore Moves Java code to fit x-pack style structure 2016-11-18 16:35:00 +00:00
README.asciidoc Moves Java code to fit x-pack style structure 2016-11-18 16:35:00 +00:00
build.gradle Gradle task bundlePack needs to depend on cpp:strip (elastic/elasticsearch#368) 2016-11-23 14:00:08 +00:00
gradle.properties Moves Java code to fit x-pack style structure 2016-11-18 16:35:00 +00:00

README.asciidoc

= Elasticsearch Prelert Plugin

Behavioral Analytics for Elasticsearch