crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <>
Subject [jira] [Updated] (CRUNCH-379) Unions of PTable and PCollection<Pair> fail in crunch-spark
Date Mon, 21 Apr 2014 15:32:14 GMT


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:
>             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

View raw message