crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Whiting (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CRUNCH-499) DoFns.detach(...) does not propogate context to wrapped DoFn
Date Tue, 10 Feb 2015 14:37:26 GMT

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

David Whiting updated CRUNCH-499:
---------------------------------
    Attachment: 0001-Propogate-context-to-wrapped-DoFn-in-DoFns.detach.patch

> DoFns.detach(...) does not propogate context to wrapped DoFn
> ------------------------------------------------------------
>
>                 Key: CRUNCH-499
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-499
>             Project: Crunch
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.12.0
>            Reporter: David Whiting
>            Assignee: Josh Wills
>            Priority: Minor
>             Fix For: 0.12.0
>
>         Attachments: 0001-Propogate-context-to-wrapped-DoFn-in-DoFns.detach.patch
>
>
> When wrapping a DoFn in DoFns.detach(), the context does not get passed down to the enclosing
DoFn when setContext is invoked, meaning counter incrementing and other features which rely
on the context being available don't work as expected. This needs to be patched to make setContext
change the context of both the wrapper and the delegate DoFn.



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

Mime
View raw message