ASF GitHub Bot commented on FLINK-4603:

Github user StephanEwen commented on the issue:

    I see, keeping the serializers for now makes probably sense.
    It just seems that there are also user functions in there (like fold, etc) 
- those should probably be removed. May mean that we have to inject them back 
into the state descriptor later.
    Orthogonal issue, so +1 for this change.
    Merging this...

> KeyedStateBackend cannot restore user code classes
> --------------------------------------------------
>                 Key: FLINK-4603
>                 URL: https://issues.apache.org/jira/browse/FLINK-4603
>             Project: Flink
>          Issue Type: Bug
>          Components: State Backends, Checkpointing
>    Affects Versions: 1.2.0
>            Reporter: Till Rohrmann
>            Assignee: Stefan Richter
>            Priority: Blocker
>             Fix For: 1.2.0
> A user reported that he cannot restore keyed state which contains user code 
> classes. I suspect that we don't use the user code class loader to 
> deserialize the state.
> The solution seems to be to forward the user code class loader to the 
> {{KeyedStateBackends}} when restoring state.

This message was sent by Atlassian JIRA

Reply via email to