[
https://issues.apache.org/jira/browse/FLINK-19972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nico Kruber closed FLINK-19972.
-------------------------------
Resolution: Fixed
merged to master via 700a92d3dd71aa693ffa669a0fd14c7e46f95923
> 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
> Priority: Major
> Labels: pull-request-available, usability
> 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)