Commit Graph

24 Commits

Author SHA1 Message Date
David Roberts 65b502079a
[ML-DataFrame] Combine task_state and indexer_state in _stats (#45276)
This commit replaces task_state and indexer_state in the
data frame _stats output with a single top level state
that combines the two. It is defined as:

- failed if what's currently reported as task_state is failed
- stopped if there is no persistent task
- Otherwise what's currently reported as indexer_state

Closes #45201
2019-08-07 16:39:56 +01:00
Benjamin Trent 1da7c591c5
[ML][Data Frame] Add update transform api endpoint (#45154)
This adds the ability to `_update` stored data frame transforms. All mutable fields are applied when the next checkpoint starts. The exception being `description`. 

This PR contains all that is necessary for this addition:
* HLRC
* Docs
* Server side
2019-08-07 07:28:09 -05:00
Lisa Cawley 9b16486615
[DOCS] Minor edits to HLRC ML APIs (#44865) 2019-07-25 10:00:06 -07:00
Lisa Cawley c9b585eacb
[DOCS] Fixes terms in HLRC data frame transform APIs (#44838) 2019-07-25 09:13:26 -07:00
David Roberts a40ccd91b8
[ML] Improve response format of data frame stats endpoint (#44350)
This change adjusts the data frame transforms stats
endpoint to return a structure that is easier to
understand.

This is a breaking change for clients of the data frame
transforms stats endpoint, but the feature is in beta so
stability is not guaranteed.

Closes #43767
2019-07-23 10:48:23 +01:00
Benjamin Trent a9cc0e1520
[ML][Data Frame] Add optional defer_validation param to PUT (#44455)
* [ML][Data Frame] Add optional defer_validation param to PUT

* addressing PR comments

* reverting bad replace

* addressing pr comments

* Update put-transform.asciidoc

* Update put-transform.asciidoc

* Update put-transform.asciidoc
2019-07-22 09:07:53 -05:00
Benjamin Trent 40fccbaa50
[ML][Data Frame] adding force delete (#44590)
* [ML][Data Frame] adding force delete

* Update delete-transform.asciidoc
2019-07-22 07:32:49 -05:00
Lisa Cawley f057f7af27
[DOCS] Fixes attribute in data frame transform API (#44249) 2019-07-12 09:54:35 -07:00
David Roberts b89c3c92e0
[ML-DataFrame] Add a frequency option to transform config, default 1m (#44120)
Previously a data frame transform would check whether the
source index was changed every 10 seconds. Sometimes it
may be desirable for the check to be done less frequently.
This commit increases the default to 60 seconds but also
allows the frequency to be overridden by a setting in the
data frame transform config.
2019-07-10 09:35:23 +01:00
Benjamin Trent 8f4ae63289
[ML][Data Frame] add node attr to GET _stats (#43842)
* [ML][Data Frame] add node attr to GET _stats

* addressing testing issues with node.attributes
2019-07-02 14:32:16 -05:00
Benjamin Trent 9084418937
[ML][Data Frame] Add support for allow_no_match for endpoints (#43490)
* [ML][Data Frame] Add support for allow_no_match parameter in endpoints

Adds support for:
* Get Transforms
* Get Transforms stats
* stop transforms
2019-06-26 06:55:50 -05:00
Benjamin Trent 9f2974985f
[ML][Data Frame] adds new pipeline field to dest config (#43124)
* [ML][Data Frame] adds new pipeline field to dest config

* Adding pipeline support to _preview

* removing unused import

* moving towards extracting _source from pipeline simulation

* fixing permission requirement, adding _index entry to doc
2019-06-19 12:58:11 -05:00
Benjamin Trent da4899f786
[ML] adding pivot.max_search_page_size option for setting paging size (#41920)
* [ML] adding pivot.size option for setting paging size

* Changing field name to address PR comments

* fixing ctor usage

* adjust hlrc for field name change
2019-05-10 09:31:48 -05:00
Lisa Cawley 000f9570ba
[DOCS] Fix callouts for dataframe APIs (#41904) 2019-05-07 19:06:05 -04:00
Benjamin Trent 06bc25e447
[ML] cleanup + adding description field to transforms (#41554)
* [ML] cleanup + adding description field to transforms

* making description length have a max of 1k
2019-04-26 14:41:05 -05:00
Benjamin Trent 9bf8b5a442
[ML] Adds progress reporting for transforms (#41278)
* [ML] Adds progress reporting for transforms

* fixing after master merge

* Addressing PR comments

* removing unused imports

* Adjusting afterKey handling and percentage to be 100*

* Making sure it is a linked hashmap for serialization

* removing unused import

* addressing PR comments

* removing unused import

* simplifying code, only storing total docs and decrementing

* adjusting for rewrite

* removing initial progress gathering from executor
2019-04-25 07:54:06 -05:00
David Kyle 3ad2b29546
[ML DataFrame] Data Frame stop all (#41156)
Wild card support for the data frame stop API
2019-04-15 14:33:16 +01:00
David Kyle 09d4e7eb9e
[ML] Data Frame HLRC Get API (#40209) 2019-03-27 09:12:06 +00:00
Benjamin Trent e79da922a3
[ML] Add data frame task state object and field (#40169)
* [ML] Add data frame task state object and field

* A new state item is added so that the overall task state can be
accoutned for
* A new FAILED state and reason have been added as well so that failures
can be shown to the user for optional correction

* Addressing PR comments

* adjusting after master merge

* addressing pr comment

* Adjusting auditor usage with failure state

* Refactor, renamed state items to task_state and indexer_state

* Adding todo and removing redundant auditor call

* Address HLRC changes and PR comment

* adjusting hlrc IT test
2019-03-26 15:59:01 -05:00
David Kyle 474ef8b4ed
[ML] Data Frame HLRC Get Stats API (#40327) 2019-03-26 08:57:12 +00:00
Benjamin Trent aaf383aa39
[ML] make source and dest objects in the transform config (#40337)
* [ML] make source and dest objects in the transform config

* addressing PR comments

* Fixing compilation post merge

* adding comment for Arrays.hashCode

* addressing changes for moving dest to object

* fixing data_frame yml tests

* fixing API test
2019-03-23 18:57:09 -05:00
David Kyle 217dc089c0
[ML] Data Frame HLRC Preview API (#40206) 2019-03-20 13:38:41 +00:00
David Kyle 1f62a7aba8
[ML] Data Frame HLRC start & stop APIs (#40154) 2019-03-19 09:47:38 +00:00
David Kyle 2cb8b65ce6
[ML-Dataframe] Add Data Frame client to the Java HLRC (#39921)
Adds DataFrameClient to the Java HLRC and implements PUT and 
DELETE data frame transform.
2019-03-14 10:06:37 +00:00