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

Shutdown has been called on the cache, can't accept new requests. #1185

Open
11896 opened this issue Aug 7, 2023 · 0 comments
Open

Shutdown has been called on the cache, can't accept new requests. #1185

11896 opened this issue Aug 7, 2023 · 0 comments
Labels
v2.x Issues related to the 2.x version

Comments

@11896
Copy link

11896 commented Aug 7, 2023

We are trying to retrieve record in our kcl application with initial positon timestamp, for doing so we are deleting the lease table and the checkopoint got updated to timestamp. After doing so, we are seeing this error in the logs Can you anyone please help me here to fix this : java.lang.IllegalStateException: Shutdown has been called on the cache, can't accept new requests.; at software.amazon.kinesis.retrieval.polling.PrefetchRecordsPublisher.throwOnIllegalState(PrefetchRecordsPublisher.java:283); at software.amazon.kinesis.retrieval.polling.PrefetchRecordsPublisher.peekNextResult(PrefetchRecordsPublisher.java:292); at software.amazon.kinesis.retrieval.polling.PrefetchRecordsPublisher.drainQueueForRequests(PrefetchRecordsPublisher.java:388); at software.amazon.kinesis.retrieval.polling.PrefetchRecordsPublisher$DefaultGetRecordsCacheDaemon.makeRetrievalAttempt(PrefetchRecordsPublisher.java:506); at software.amazon.kinesis.retrieval.polling.PrefetchRecordsPublisher$DefaultGetRecordsCacheDaemon.run(PrefetchRecordsPublisher.java:464); at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128); at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628); at java.base/java.lang.Thread.run(Thread.java:829);

@stair-aws stair-aws added the v2.x Issues related to the 2.x version label Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2.x Issues related to the 2.x version
Projects
None yet
Development

No branches or pull requests

2 participants