You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/22 10:49:18 UTC

[jira] [Commented] (FLINK-3450) RocksDB Backed Window Fails with KryoSerializer

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

ASF GitHub Bot commented on FLINK-3450:
---------------------------------------

GitHub user aljoscha opened a pull request:

    https://github.com/apache/flink/pull/1686

    [FLINK-3450] Duplicate TypeSerializer in StateDescriptor.writeObject

    The StateDescriptor can be serializer asynchronously in case of
    asynchronous checkpoints. In that case two threads would try to
    concurrently use the TypeSerializer: The normal state updating and the
    checkpoint serialization. If the TypeSerializer is a KryoSerializer this
    can lead to problems. Therefore the need to duplicate it before using in
    "writeObject".

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aljoscha/flink state-descriptor-kryo-fix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1686.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1686
    
----
commit 51d8dc9fa5cdd84b6cc1c7711af96ddabf12aaf6
Author: Aljoscha Krettek <al...@gmail.com>
Date:   2016-02-19T14:38:57Z

    [FLINK-3450] Duplicate TypeSerializer in StateDescriptor.writeObject
    
    The StateDescriptor can be serializer asynchronously in case of
    asynchronous checkpoints. In that case two threads would try to
    concurrently use the TypeSerializer: The normal state updating and the
    checkpoint serialization. If the TypeSerializer is a KryoSerializer this
    can lead to problems. Therefore the need to duplicate it before using in
    "writeObject".

----


> RocksDB Backed Window Fails with KryoSerializer
> -----------------------------------------------
>
>                 Key: FLINK-3450
>                 URL: https://issues.apache.org/jira/browse/FLINK-3450
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 1.0.0
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>            Priority: Blocker
>             Fix For: 1.0.0
>
>
> It fails due to concurrent use of the KryoSerializer when asynchronously serializing the {{StateDescriptor}} during checkpointing.



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