```Caused by: org.apache.flink.util.SerializedThro...
# troubleshooting
p
Copy code
Caused by: org.apache.flink.util.SerializedThrowable: java.lang.IllegalStateException: one checkpoint contains at most one materializationID
        at org.apache.flink.util.Preconditions.checkState(Preconditions.java:193) ~[flink-dist-1.17.1-amzn-1.jar:1.17.1-amzn-1]
        at org.apache.flink.runtime.state.ChangelogTaskLocalStateStore.updateReference(ChangelogTaskLocalStateStore.java:92) ~[flink-dist-1.17.1-amzn-1.jar:1.17.1-amzn-1]
        at org.apache.flink.runtime.state.ChangelogTaskLocalStateStore.storeLocalState(ChangelogTaskLocalStateStore.java:130) ~[flink-dist-1.17.1-amzn-1.jar:1.17.1-amzn-1]
        at org.apache.flink.runtime.state.TaskStateManagerImpl.reportTaskStateSnapshots(TaskStateManagerImpl.java:140) ~[flink-dist-1.17.1-amzn-1.jar:1.17.1-amzn-1]
        at org.apache.flink.streaming.runtime.tasks.AsyncCheckpointRunnable.reportCompletedSnapshotStates(AsyncCheckpointRunnable.java:237) ~[flink-dist-1.17.1-amzn-1.jar:1.17.1-amzn-1]
        at org.apache.flink.streaming.runtime.tasks.AsyncCheckpointRunnable.run(AsyncCheckpointRunnable.java:136) ~[flink-dist-1.17.1-amzn-1.jar:1.17.1-amzn-1]
        ... 3 more
n
Hello, getting the same error when trying to enable Task Local Recovery with Generic Log-BasedIncremental Checkpoint.
Copy code
at org.apache.flink.streaming.runtime.tasks.AsyncCheckpointRunnable.handleExecutionException(AsyncCheckpointRunnable.java:298) ~[flink-dist-1.17.1-amzn-1.jar:1.17.1-amzn-1]
	at org.apache.flink.streaming.runtime.tasks.AsyncCheckpointRunnable.run(AsyncCheckpointRunnable.java:155) ~[flink-dist-1.17.1-amzn-1.jar:1.17.1-amzn-1]
	... 3 more
Caused by: org.apache.flink.util.SerializedThrowable: java.lang.IllegalStateException: one checkpoint contains at most one materializationID
	at org.apache.flink.util.Preconditions.checkState(Preconditions.java:193) ~[flink-dist-1.17.1-amzn-1.jar:1.17.1-amzn-1]
	at org.apache.flink.runtime.state.ChangelogTaskLocalStateStore.updateReference(ChangelogTaskLocalStateStore.java:92) ~[flink-dist-1.17.1-amzn-1.jar:1.17.1-amzn-1]
	at org.apache.flink.runtime.state.ChangelogTaskLocalStateStore.storeLocalState(ChangelogTaskLocalStateStore.java:130) ~[flink-dist-1.17.1-amzn-1.jar:1.17.1-amzn-1]
	at org.apache.flink.runtime.state.TaskStateManagerImpl.reportTaskStateSnapshots(TaskStateManagerImpl.java:140) ~[flink-dist-1.17.1-amzn-1.jar:1.17.1-amzn-1]
	at org.apache.flink.streaming.runtime.tasks.AsyncCheckpointRunnable.reportCompletedSnapshotStates(AsyncCheckpointRunnable.java:237) ~[flink-dist-1.17.1-amzn-1.jar:1.17.1-amzn-1]
	at org.apache.flink.streaming.runtime.tasks.AsyncCheckpointRunnable.run(AsyncCheckpointRunnable.java:136) ~[flink-dist-1.17.1-amzn-1.jar:1.17.1-amzn-1]
	... 3 more
p
@Nicolas P Is this consistently failing with your application? If so, could you share the repro steps that will help to find the root cause?
m
This doesn’t look like the Flink distribution itself, but a forked version from AWS?
p
Yes, it is; the library suffix has amzn. But we don't have any changes in the flink-runtime package. So I expect the behaviour to be the same at OSS Flink as well.
m
Feel free to file a ticket
👍 1