You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ufuk Celebi (JIRA)" <ji...@apache.org> on 2017/02/22 12:46:44 UTC

[jira] [Commented] (FLINK-5876) Mention Scala type fallacies for queryable state client serializers

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

Ufuk Celebi commented on FLINK-5876:
------------------------------------

Fixed in 15bb424 (release-1.2), 8e1775a (master).

> Mention Scala type fallacies for queryable state client serializers
> -------------------------------------------------------------------
>
>                 Key: FLINK-5876
>                 URL: https://issues.apache.org/jira/browse/FLINK-5876
>             Project: Flink
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Ufuk Celebi
>             Fix For: 1.3.0, 1.2.1
>
>
> FLINK-5801 shows a very hard to debug issue when querying state from the Scala API that can result in serializer mismatches between the client and the job.
> We should mention that the type serializers should be created via the Scala macros.
> {code}
> import org.apache.flink.streaming.api.scala._
> ...
> val keySerializer = createTypeInformation[Long].createSerializer(new ExecutionConfig)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)