You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dawid Wysakowicz (Jira)" <ji...@apache.org> on 2022/03/31 12:45:00 UTC

[jira] [Created] (FLINK-26960) Make it possible to drop an old unused registered Kryo serializer

Dawid Wysakowicz created FLINK-26960:
----------------------------------------

             Summary: Make it possible to drop an old unused registered Kryo serializer
                 Key: FLINK-26960
                 URL: https://issues.apache.org/jira/browse/FLINK-26960
             Project: Flink
          Issue Type: Bug
          Components: API / Type Serialization System
    Affects Versions: 1.14.4, 1.13.6, 1.12.7, 1.15.0
            Reporter: Dawid Wysakowicz


If users register a Kryo serializer e.g. via:
{code}
env.registerTypeWithKryoSerializer(ClassA. ClassASerializer.class);
{code}

and then use a Kryo serializer for serializing state objects, the registered serializer is written into the KryoSerializer snapshot. Even if Kryo is used for serializing classes other than ClassA. This makes it impossible to remove {{ClassASerializer}} from the classpath, because it is required for reading the savepoint.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)