You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2014/04/21 17:32:14 UTC

[jira] [Updated] (CRUNCH-379) Unions of PTable and PCollection fail in crunch-spark

     [ https://issues.apache.org/jira/browse/CRUNCH-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Wills updated CRUNCH-379:
------------------------------

    Attachment: CRUNCH-379.patch

Patch for this, w/a test that demonstrates the failure w/o the patch. Will commit later today if there are no objections.

> Unions of PTable and PCollection<Pair> fail in crunch-spark
> -----------------------------------------------------------
>
>                 Key: CRUNCH-379
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-379
>             Project: Crunch
>          Issue Type: Bug
>    Affects Versions: 0.9.0, 0.8.2
>            Reporter: Josh Wills
>             Fix For: 0.10.0, 0.8.3
>
>         Attachments: CRUNCH-379.patch
>
>
> Right now, unioning a PTable<K, V> and a PCollection<Pair<K, V>> in crunch-spark will fail due to a ClassCastException-- one parent PCollection will return a JavaRDD, while the other will return a JavaPairRDD, and we'll only be expecting one type to be returned. This unioning works correctly in the MR impl, so we should add a fix for it to work correctly in crunch-spark as well.



--
This message was sent by Atlassian JIRA
(v6.2#6252)