incubator-crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-59) DoFn doesnt' need both configure and initialize methods
Date Mon, 10 Sep 2012 00:01:07 GMT


Vinod Kumar Vavilapalli commented on CRUNCH-59:

Oh, yes, I missed the documentation. And one of the code paths too.

bq.  configure() is called during the job construction process on the client side, and provides
a mechanism for a DoFn to alter the configuration of an MR job before it is submitted.
Understand what the documentation refers to now. But shouldn't users instead set up the configuration
via {{Pipeline.setConfiguration()}}. Any use-case that explicitly needs to overwrite what
the rest of crunch-client side does?
> DoFn doesnt' need both configure and initialize methods
> -------------------------------------------------------
>                 Key: CRUNCH-59
>                 URL:
>             Project: Crunch
>          Issue Type: Bug
>            Reporter: Vinod Kumar Vavilapalli
> DoFN doesn't seem to need both {{public void configure(Configuration conf)}} and {{public
void initialize()}}. We can do with a single API like {{initialize(Configuration)}}.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message