Commit Graph

9 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
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 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 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
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