Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] Opening a job with duplicate detectors fail #30070

Closed
elasticmachine opened this issue Feb 21, 2018 · 1 comment
Closed

[ML] Opening a job with duplicate detectors fail #30070

elasticmachine opened this issue Feb 21, 2018 · 1 comment
Labels
>bug :ml Machine learning

Comments

@elasticmachine
Copy link
Collaborator

Original comment by @davidkyle:

Create a job with duplicate detectors e.g.

{
    "analysis_config" : {
        "detectors" :[{"function":"count", "partition_field_name":"user"},
                               {"function":"count", "partition_field_name":"user"}]
    },
 ...
}'

The job will fail when you try to open with the reason hidden in the log file

[2018-02-21T14:47:37,308][ERROR][o.e.x.m.j.p.a.NativeAutodetectProcess] [duplicate-job] autodetect process stopped unexpectedly: Token 1 in the analysis clause is a duplicate of token 0
Error reading config file /var/folders/n0/rwqy9jyx54zgbv44d8_srk580000gn/T/elasticsearch.XsfOu4LI/fieldconfig8834784943083392311.conf
Field config could not be interpreted

The validation in x-pack should be the same as in autodetect so this config is rejected at creation.

@sophiec20
Copy link
Contributor

Closing as duplicate, in favour of #39704

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :ml Machine learning
Projects
None yet
Development

No branches or pull requests

3 participants