[ 
https://issues.apache.org/jira/browse/FLINK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gyula Fora resolved FLINK-2707.
-------------------------------
    Resolution: Fixed

Fixed + added a test case

https://github.com/apache/flink/commit/3e233a3894a2701cc16c6cb3bc8778fc84482e20

> Set state checkpointer before default state for PartitionedStreamOperatorState
> ------------------------------------------------------------------------------
>
>                 Key: FLINK-2707
>                 URL: https://issues.apache.org/jira/browse/FLINK-2707
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>            Reporter: Gyula Fora
>            Assignee: Gyula Fora
>
> Currently the default state is set before the passed StateCheckpointer 
> instance for operator states.
> What currently happens because of this is that the default value is 
> serialized with Java serialization and then deserialized on the 
> opstate.value() call using the StateCheckpointer most likely causing a 
> failure.
> This can be trivially fixed by swaping the order of the 2 calls.



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

Reply via email to