Skip to content

[ML] Improve error message when transforms are not enabled on any node #74837

@sophiec20

Description

@sophiec20

Found in master "build_hash" : "5de0ed9432f4b41b697c9f3bc28953834cd3eae1", "build_date" : "2020-08-06T12:34:55.776311Z",

When node.roles: [ "transform" ] is not enabled on any node, then a transform cannot be run. The UI will let you step through the process of creating a transform, but the following error is displayed on start.

image

This node setting does not disable the API entirely, so GET _transform still works. But it does stop the transform from running on a node. If there are no nodes capable of starting the transform, then you will see this error.

Please can we improve the presentation of this error and make it more human read-able.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions