Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Migrate to async method #78

Open
ylwu-amzn opened this issue Apr 7, 2020 · 2 comments
Open

Migrate to async method #78

ylwu-amzn opened this issue Apr 7, 2020 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@ylwu-amzn
Copy link
Contributor

Problem

See some timeout exception when RCFResultTransportAction get checkout points:

Cause

ElasticsearchTimeoutException[Cannot get response within time limit: get [.opendistro-anomaly-checkpoints][_doc][kay-UXEBjVN7EqCB9SOS_model_rcf_1]: routing [null]]

Seems RCFResultTransportAction is using deprecated method manager.getRcfResult(request.getAdID(), request.getModelID(), request.getFeatures())

Action

We need to migrate to async method.

Please check if we are using such deprecated methods at other places.

@ylwu-amzn
Copy link
Contributor Author

ylwu-amzn commented Apr 7, 2020

Same for ThresholdResultTransportAction

My local log shows
[2020-04-07T10:20:18,579][ERROR][c.a.o.a.t.ThresholdResultTransportAction] [4c327594166b.ant.amazon.com] ElasticsearchTimeoutException[Cannot get response within time limit: get [.opendistro-anomaly-checkpoints][_doc][izSiQXEBZ8BuTDHZ70NC_model_threshold]: routing [null]]

@ylwu-amzn
Copy link
Contributor Author

ADStateManager

ElasticsearchTimeoutException[Cannot get response within time limit: get [.opendistro-anomaly-detectors][_doc][WQXnUXEB44dtcje-PgWE]: routing [null]]

@ylwu-amzn ylwu-amzn added the bug Something isn't working label Apr 23, 2020
@kaituo kaituo self-assigned this Jul 17, 2020
@yizheliu-amazon yizheliu-amazon added the enhancement New feature or request label Jul 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants