Nico Kruber created FLINK-19972: ----------------------------------- Summary: Provide more details when type serializers are not compatible Key: FLINK-19972 URL: https://issues.apache.org/jira/browse/FLINK-19972 Project: Flink Issue Type: Improvement Components: Runtime / State Backends Affects Versions: 1.11.2 Reporter: Nico Kruber Assignee: Nico Kruber Fix For: 1.12.0
Currently, when the type serializer is incompatible, you get exceptions like these: {code:java} StateMigrationException("For heap backends, the new namespace serializer must be compatible."); StateMigrationException("The new namespace serializer must be compatible."); StateMigrationException("For heap backends, the new state serializer must not be incompatible."); StateMigrationException("The new state serializer cannot be incompatible.") StateMigrationException("The new key serializer must be compatible."){code} which are not really helpful to the user in debugging serializers. Since we already have the old serializer (snapshot) and the new one available, we should add this detail to the exceptions for improved usability. -- This message was sent by Atlassian Jira (v8.3.4#803005)