crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Micah Whitacre (JIRA)" <>
Subject [jira] [Updated] (CRUNCH-569) Don't reuse avros on SparkPipeline cache()
Date Tue, 13 Oct 2015 19:20:05 GMT


Micah Whitacre updated CRUNCH-569:
    Attachment: CRUNCH-569_test.patch

Converted [~nithinasokan] gist into a unit test that shows the failure and confirmed his described
behavior about it passing without the cache() call.

> Don't reuse avros on SparkPipeline cache()
> ------------------------------------------
>                 Key: CRUNCH-569
>                 URL:
>             Project: Crunch
>          Issue Type: Bug
>          Components: Spark
>    Affects Versions: 0.12.0
>            Reporter: Nithin Asokan
>         Attachments: CRUNCH-569_test.patch
> A cached PCollection/PTable built by Avros using SparkPipeline seem to reuse avro objects.
Here is a test that shows this behavior
> I would expect the output of this program to create a pair with same key, value. However,
this produces Pair with different key value. I have tested this with text file input source
and it works as expected. Removing cache() produces expected result. 
> Mailing list:

This message was sent by Atlassian JIRA

View raw message