[
https://issues.apache.org/jira/browse/FLINK-23840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17401044#comment-17401044
]
David Morávek commented on FLINK-23840:
---------------------------------------
I think we may go even a bit further and warn user if configured checkpoint
storage is not used, eg. because the legacy state Backend took precedence.
> Confusing message from MemCheckpointStreamFactory#checkSize
> -----------------------------------------------------------
>
> Key: FLINK-23840
> URL: https://issues.apache.org/jira/browse/FLINK-23840
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / State Backends
> Affects Versions: 1.13.2
> Reporter: David Anderson
> Assignee: David Morávek
> Priority: Major
> Fix For: 1.14.0
>
>
> After the refactoring of the state backends and checkpoint storage done in
> 1.13, some folks who were using either the filesystem state backend or the
> rocksdb state backend find themselves accidentally using
> JobManagerCheckpointStorage (because it is the default), and then are very
> confused by this error message:
>
> {{throw new IOException(}}
> {{ "Size of the state is larger than the maximum permitted memory-backed
> state. Size="}}
> {{ + size}}
> {{ + " , maxSize="}}
> {{ + maxSize}}
> {{ + " . Consider using a different state backend, like the File System State
> backend.");}}
> This should instead say something like
> {quote}Consider using FileSystemCheckpointStorage instead.
> {quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)