[ https://issues.apache.org/jira/browse/FLINK-6857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16060515#comment-16060515 ]
ASF GitHub Bot commented on FLINK-6857: --------------------------------------- Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/4166 @zhangminglei this does not solve the issue. The expected fix is to pass the new setting to `ExecutionConfig`, which will then be used when creating a `KryoSerializer` (see `GenericTypeInfo`). The `KryoSerializer` needs to respect this setting and appropriately configure the `kryo` instance when instantiating it. > Add global default Kryo serializer configuration to StreamExecutionEnvironment > ------------------------------------------------------------------------------ > > Key: FLINK-6857 > URL: https://issues.apache.org/jira/browse/FLINK-6857 > Project: Flink > Issue Type: Improvement > Components: Configuration, Type Serialization System > Reporter: Tzu-Li (Gordon) Tai > Assignee: mingleizhang > > See ML for original discussion: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/KryoException-Encountered-unregistered-class-ID-td13476.html. > We should have an additional {{setDefaultKryoSerializer}} method that allows > overriding the global default serializer that is not tied to specific classes > (out-of-the-box Kryo uses the {{FieldSerializer}} if no matches for default > serializer settings can be found for a class). Internally in Flink's > {{KryoSerializer}}, this would only be a matter of proxying that configured > global default serializer for Kryo by calling > {{Kryo.setDefaultSerializer(...)}} on the created Kryo instance. -- This message was sent by Atlassian JIRA (v6.4.14#64029)