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

[BUG]We didn't show errors why an error is stopped. #874

Open
kaituo opened this issue Sep 10, 2024 · 0 comments
Open

[BUG]We didn't show errors why an error is stopped. #874

kaituo opened this issue Sep 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kaituo
Copy link
Collaborator

kaituo commented Sep 10, 2024

What is the bug?
We didn't show errors why an error is stopped.

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Create 3+ real time/historical detector on local mode.
  2. The detector is shown stopped.
  3. The backend show
[2024-09-10T11:02:54,366][ERROR][o.o.t.t.TaskManager      ] [integTest-0] Failed to execute batch task, task id: 1SQa3ZEBA4nDleJ_TcjG, config id: jCQa3ZEBA4nDleJ_OMdQ
org.opensearch.timeseries.common.exception.LimitExceededException: Not enough memory to run detector
        at org.opensearch.ad.task.ADTaskCacheManager.add(ADTaskCacheManager.java:150) ~[?:?]
        at org.opensearch.ad.task.ADBatchTaskRunner.executeADBatchTaskOnWorkerNode(ADBatchTaskRunner.java:851) ~[?:?]
        at org.opensearch.ad.task.ADBatchTaskRunner.lambda$startADBatchTaskOnWorkerNode$35(ADBatchTaskRunner.java:779) ~[?:?]
        at org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:882) ~[opensearch-2.15.0-SNAPSHOT.jar:2.15.0-SNAPSHOT]
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) [?:?]
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) [?:?]
        at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
[2024-09-10T11:02:54,478][WARN ][o.o.t.TransportService   ] [integTest-0] Transport response handler not found of id [6458]

What is the expected behavior?
We should see error on the frontend.

What is your host/environment?

  • OS: 3.0

Do you have any additional context?
Add any other context about the problem.

@kaituo kaituo added bug Something isn't working untriaged and removed untriaged labels Sep 10, 2024
@kaituo kaituo removed the untriaged label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant