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
Siddhi App 56d572bd-caaa-41c5-928a-26813ae8bcd2 not stabilized for snapshot/restore, Active thread count is 1 #1561
Comments
This exception is thrown during Siddhi snapshot/restore process. Are you using any Siddhi custom extensions ? |
No, I used string extension and regex extension, but I found that if I used the window.time()and window.timeBatch(), I would report an exception. If I didn't use the window.time()and window.timeBatch(), there would be no exception |
Can you please provide few thread dumps at regular intervals(eg: 10s intervals) when this scenario is experienced |
OK, I'll try. Thanks |
Furthermore, siddhi-execution-string and siddhi-execution-regex are stateless processes. Hence, the Siddhi snapshot/restore tasks will not be triggered with the said extensions. Whereas, window operations are stateful processes which triggers Siddhi snapshot/restore tasks. |
Can you please verify whether you tried with Siddhi v5.1.7 or v5.1.2? |
Flink-siddhi.jar requires user to load the siddhi.jar package. My version is 5.1.7 |
@guanyufen123 Were you able to capture the thread dumps as I requested? |
ok,thanks |
Description:
not stabilized for snapshot/restore, Active thread count is 1
Affected Siddhi Version:
siddhi-core:5.1.7
OS, DB, other environment details and versions:
I use the jar package after the integration of Flink and siddhi (flink-siddhi.jar) to run in Hadoop.
https://github.com/haoch/flink-siddhi
Steps to reproduce:
exception information:
io.siddhi.core.exception.SiddhiAppRuntimeException: Siddhi App 47b2c172-51e7-45ff-b471-1ac16de23e5f not stabilized for snapshot/restore, Active thread count is 1
at io.siddhi.core.util.snapshot.SnapshotService.waitForSystemStabilization(SnapshotService.java:768)
at io.siddhi.core.util.snapshot.SnapshotService.fullSnapshot(SnapshotService.java:100)
at io.siddhi.core.SiddhiAppRuntimeImpl.snapshot(SiddhiAppRuntimeImpl.java:674)
at org.apache.flink.streaming.siddhi.operator.AbstractSiddhiOperator.checkpointSiddhiRuntimeState(AbstractSiddhiOperator.java:377)
at org.apache.flink.streaming.siddhi.operator.AbstractSiddhiOperator.processElement(AbstractSiddhiOperator.java:220)
at org.apache.flink.streaming.runtime.io.StreamInputProcessor.processInput(StreamInputProcessor.java:202)
at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask.run(OneInputStreamTask.java:105)
at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:300)
at org.apache.flink.runtime.taskmanager.Task.run(Task.java:711)
at java.lang.Thread.run(Thread.java:745)
Related Issues:
What causes this problem and how to solve it? Thank you
The text was updated successfully, but these errors were encountered: