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

Till Rohrmann commented on FLINK-2665:
--------------------------------------

It's actually not possible to add the bounds, because 
{{ExecutionConfig.Entry<Class<?>, Serializer<?>>}} is used to store Kryo 
serializers in the execution config. Kryo serializers are, however, not 
serializable. Interestingly though, in some methods which are used to add 
{{Serializers}} to the {{ExecutionConfig}}, it is checked whether the 
{{Serializer}} instance implements the {{Serializable}} interface and if not, 
fails. But this does not happen during compile time. I guess this should be 
reworked as well.

> ExecutionConfig is not serializable
> -----------------------------------
>
>                 Key: FLINK-2665
>                 URL: https://issues.apache.org/jira/browse/FLINK-2665
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Till Rohrmann
>
> The {{ExecutionConfig}} is not serializable, because the 
> {{ExecutionConfig.Entry<K,V>}} can contain non serializable key and value 
> field values.
> I suggest to add a type bound for {{K}} and {{V}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to