beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BEAM-2753) File DynamicDestinations side inputs don't work with sharding
Date Fri, 25 Aug 2017 21:55:00 GMT


ASF GitHub Bot commented on BEAM-2753:

GitHub user jkff opened a pull request:

    [BEAM-2753] Fixes translation of WriteFiles side inputs

    R: @kennknowles 
    CC: @reuvenlax @mairbek 

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

    $ git pull file-destinations

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

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

    This closes #3765
commit bd1ae5fc000332b3113096a9d6b58194924e60cc
Author: Eugene Kirpichov <>
Date:   2017-08-25T21:49:07Z

    [BEAM-2753] Fixes translation of WriteFiles side inputs


> File DynamicDestinations side inputs don't work with sharding
> -------------------------------------------------------------
>                 Key: BEAM-2753
>                 URL:
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Eugene Kirpichov
>            Assignee: Reuven Lax
>             Fix For: 2.2.0
> WriteWithShardingFactory uses PTransformReplacements.getSingletonMaininput
> However if the dynamic destinations have a side input, then the transform has more than
1 input and the function fails:
> Exception in thread "main" java.lang.IllegalArgumentException: Got multiple inputs that
are not additional inputs for a singleton main input: Avro schema side input/ParMultiDo(Anonymous).out0
[PCollection] and Run read all/Execute queries/ParMultiDo(NaiveSpannerRead).out0 [PCollection]
> 	at
> 	at
> 	at
> 	at
> 	at org.apache.beam.sdk.Pipeline.applyReplacement(
> 	at org.apache.beam.sdk.Pipeline.replace(
> 	at org.apache.beam.sdk.Pipeline.replaceAll(
> 	at
> 	at
> 	at
> 	at
> This is not caught by unit tests because unit tests specify withoutSharding().
> CC: [~mkhadikov]

This message was sent by Atlassian JIRA

View raw message