beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Weise (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (BEAM-783) Revisit View.AsSingleton custom transform in Apex runner
Date Thu, 20 Oct 2016 02:30:59 GMT

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

Thomas Weise edited comment on BEAM-783 at 10/20/16 2:30 AM:
-------------------------------------------------------------

[~kenn] to reproduce the execution failure when using the default translation, disable 

https://github.com/apache/incubator-beam/blob/apex-runner/runners/apex/src/main/java/org/apache/beam/runners/apex/ApexRunner.java#L99

{code}
mvn test -Dtest=ParDoBoundTranslatorTest#testMultiOutputParDoWithSideInputs
{code}

Produces the ClassCastException in the test log (not shown in the console).

{code}
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Iterable
	at org.apache.beam.runners.core.SideInputHandler.addSideInputValue(SideInputHandler.java:148)
{code}



was (Author: thw):
To reproduce the execution failure when using the default translation, disable 

https://github.com/apache/incubator-beam/blob/apex-runner/runners/apex/src/main/java/org/apache/beam/runners/apex/ApexRunner.java#L99

{code}
mvn test -Dtest=ParDoBoundTranslatorTest#testMultiOutputParDoWithSideInputs
{code}

Produces the ClassCastException in the test log (not shown in the console).

{code}
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Iterable
	at org.apache.beam.runners.core.SideInputHandler.addSideInputValue(SideInputHandler.java:148)
{code}


> Revisit View.AsSingleton custom transform in Apex runner
> --------------------------------------------------------
>
>                 Key: BEAM-783
>                 URL: https://issues.apache.org/jira/browse/BEAM-783
>             Project: Beam
>          Issue Type: Improvement
>          Components: runner-apex
>            Reporter: Thomas Weise
>            Assignee: Thomas Weise
>
> Determine if this should work with the SDK provided transform. Follow-up from BEAM-261



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

Mime
View raw message