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

Robert Metzger commented on FLINK-2081:
---------------------------------------

You can always work around that by leaving the open method empty and initialize 
your stuff on the first next()/hasNext() call.

> Change order of restore state and open for Streaming Operators
> --------------------------------------------------------------
>
>                 Key: FLINK-2081
>                 URL: https://issues.apache.org/jira/browse/FLINK-2081
>             Project: Flink
>          Issue Type: Improvement
>          Components: Streaming
>    Affects Versions: 0.9
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>
> Right now, the order is restore state -> open. Users often set internal state 
> in the open method, this would overwrite state that was restored from a 
> checkpoint. If we change the order to open -> restore this should not be a 
> problem anymore.



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

Reply via email to