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

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

Github user tillrohrmann commented on the pull request:

    https://github.com/apache/flink/pull/814#issuecomment-114860764
  
    I did not mean a special Kryo serializer but our very own 
`WritableSerializer`. With the current implementation `WritableTypeInformation` 
has precedence over `GenericTypeInfo`. This means that if the `TypeExtractor` 
sees a `Writable` subtype, then it creates a `WritableTypeInfo`. If the type is 
the `Writable` interface, then a `GenericTypeInfo` is returned and, thus, Kryo 
is used.


> Type extractor does not support Writable type
> ---------------------------------------------
>
>                 Key: FLINK-2194
>                 URL: https://issues.apache.org/jira/browse/FLINK-2194
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>
> The type extractor supports sub types of {{Writable}} but not {{Writable}} 
> itself. The reason is that it wants to create a {{WritableTypeInfo}} which is 
> not possible for the interface {{Writable}}, though. A solution would be to 
> treat the {{Writable}} interface like a generic type. 



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

Reply via email to