2019-06-25 13:29:11 -04:00
|
|
|
--
|
|
|
|
:api: start-data-frame-analytics
|
|
|
|
:request: StartDataFrameAnalyticsRequest
|
|
|
|
:response: AcknowledgedResponse
|
|
|
|
--
|
2019-09-10 11:26:56 -04:00
|
|
|
[role="xpack"]
|
2019-06-25 13:29:11 -04:00
|
|
|
[id="{upid}-{api}"]
|
2019-09-16 13:00:44 -04:00
|
|
|
=== Start {dfanalytics-jobs} API
|
2019-06-25 13:29:11 -04:00
|
|
|
|
2019-09-16 13:00:44 -04:00
|
|
|
Starts an existing {dfanalytics-job}.
|
2019-06-25 13:29:11 -04:00
|
|
|
It accepts a +{request}+ object and responds with a +{response}+ object.
|
|
|
|
|
|
|
|
[id="{upid}-{api}-request"]
|
2019-09-16 13:00:44 -04:00
|
|
|
==== Start {dfanalytics-job} request
|
2019-06-25 13:29:11 -04:00
|
|
|
|
2019-09-16 13:00:44 -04:00
|
|
|
A +{request}+ object requires a {dfanalytics-job} ID.
|
2019-06-25 13:29:11 -04:00
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
---------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
|
|
|
---------------------------------------------------
|
2019-09-16 13:00:44 -04:00
|
|
|
<1> Constructing a new start request referencing an existing {dfanalytics-job}
|
2019-06-25 13:29:11 -04:00
|
|
|
|
|
|
|
include::../execution.asciidoc[]
|
|
|
|
|
|
|
|
[id="{upid}-{api}-response"]
|
2020-04-22 07:06:53 -04:00
|
|
|
==== Start {dfanalytics-job} response
|
2019-06-25 13:29:11 -04:00
|
|
|
|
2020-04-22 07:06:53 -04:00
|
|
|
The returned +{response}+ object acknowledges the {dfanalytics-job} has started.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-response]
|
|
|
|
--------------------------------------------------
|
|
|
|
<1> `getNode()` returns the node that the job was assigned to. If the
|
|
|
|
job is allowed to open lazily and has not yet been assigned to a node
|
|
|
|
then an empty string is returned. If `getNode()` returns `null` then
|
|
|
|
the server is an old version that does not return node information.
|