beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Sela (JIRA)" <>
Subject [jira] [Commented] (BEAM-848) Make post-read (unbounded) shuffle use coders instead of Kryo.
Date Fri, 04 Nov 2016 22:20:58 GMT


Amit Sela commented on BEAM-848:

I have this patched-up but I'm waiting to find the time to actually test and see this break
before the patch, and run successfully after.
Breaking this should be easy enough if the input from the {{UnboundedSource}} is not Kryo-serializable.

> Make post-read (unbounded) shuffle use coders instead of Kryo.
> --------------------------------------------------------------
>                 Key: BEAM-848
>                 URL:
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-spark
>            Reporter: Amit Sela
>            Assignee: Amit Sela
> The SparkRunner uses {{mapWithState}} to read and manage CheckpointMarks, and this stateful
operation will be followed by a shuffle: 
> It would be best to use coders here:
in order to get an Iterator<byte[]> and decode afterwards.
> This method is preferred for two reasons:
> 1. Known coding should be faster then Kryo.
> 2. Users are already required to explicitly use coders when authoring a Pipeline and
the runner should avoid adding complexity of "registering" additional serializers. 

This message was sent by Atlassian JIRA

View raw message