You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/14 10:24:00 UTC

[jira] [Commented] (FLINK-6857) Add global default Kryo serializer configuration to StreamExecutionEnvironment

    [ https://issues.apache.org/jira/browse/FLINK-6857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16087148#comment-16087148 ] 

ASF GitHub Bot commented on FLINK-6857:
---------------------------------------

Github user zhangminglei commented on the issue:

    https://github.com/apache/flink/pull/4166
  
    @tzulitai Sorry for delay. What you mean is that I should first implement or support ```Kryo.setDefaultSerializer(...)``` method in ```ExecutionConfig```, and that is the solution for this issue. I understand right ? If I am wrong, please helps me out. Thank you ! 


> 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)