Skip to content

Worker.run caught exception, sleeping for 1000 milli seconds! #1470

@nikhil-sarda

Description

@nikhil-sarda

We are getting a lot of these error logs intermittently, when running KCL 3.x
Ideally, if its sleeping and retrying, we should log them as warn and not error, as this disappears after a while. This log as error doesn't really calls for action. Thoughts?

stack_trace: java.lang.IllegalStateException: LeaderDecider uninitialized at software.amazon.kinesis.leader.MigrationAdaptiveLeaderDecider.isLeader(MigrationAdaptiveLeaderDecider.java:49) at software.amazon.kinesis.coordinator.Scheduler.isLeader(Scheduler.java:593) at software.amazon.kinesis.coordinator.Scheduler.runProcessLoop(Scheduler.java:568) at software.amazon.kinesis.coordinator.Scheduler.run(Scheduler.java:460) at java.base/java.lang.Thread.run(Unknown Source)

Or its really a bad thing, because scheduler won't even start reading from kinesis until this passes? If that's the case we are seeing a lot of them

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions