[
https://issues.apache.org/jira/browse/FLINK-3085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029819#comment-15029819
]
Aljoscha Krettek commented on FLINK-3085:
-----------------------------------------
I also have some work in progress here:
https://github.com/aljoscha/flink/commits/state-enhance. I'm changing it so
that every operator has its own instance of the StateBackend, because the
StateBackend is now also responsible for keeping track of the key-value states.
Instead of them being scattered across RuntimeContext and
AbstractStreamOperator.
> Move State Backend Initialization from "registerInputOutput()" to "invoke()"
> ----------------------------------------------------------------------------
>
> Key: FLINK-3085
> URL: https://issues.apache.org/jira/browse/FLINK-3085
> Project: Flink
> Issue Type: Improvement
> Components: Streaming
> Affects Versions: 0.10.0
> Reporter: Stephan Ewen
> Assignee: Stephan Ewen
> Fix For: 1.0.0
>
>
> The state backend initialization currently happens in the {{StreamTask}} in
> {{registerInputOutput()}}. For better error handling, it should be part of
> {{invoke()}}, where the task is properly interrupted, threads are properly
> joined, and exceptions are treated aware of cancelling.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)