David Anderson created FLINK-23840: -------------------------------------- Summary: Confusing message from MemCheckpointStreamFactory#checkSize Key: FLINK-23840 URL: https://issues.apache.org/jira/browse/FLINK-23840 Project: Flink Issue Type: Technical Debt Components: Runtime / State Backends Affects Versions: 1.13.2 Reporter: David Anderson 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)