You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "David Whiting (JIRA)" <ji...@apache.org> on 2015/02/10 15:31:28 UTC

[jira] [Created] (CRUNCH-499) DoFns.detach(...) does not propogate context to wrapped DoFn

David Whiting created CRUNCH-499:
------------------------------------

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


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)