You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Siddharth Seth (JIRA)" <ji...@apache.org> on 2014/02/07 09:23:19 UTC
[jira] [Updated] (TEZ-668) Allow a Processor to trigger an Input as
to when to fetch/prep data.
[ https://issues.apache.org/jira/browse/TEZ-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siddharth Seth updated TEZ-668:
-------------------------------
Attachment: TEZ-668.1.wip.txt
Very early stage WIP patch, outlining the changes being made.
A start method on Input/Output
An AutoStart annotation which is specified on Inputs, Outputs - indicating whether they should be auto started by default or not. This would be disabled for most Outputs, for example.
A ConainerControl interface to allow the processor to configure aspects which are typically related to re-use. Currently, allows controlling whether specific Inputs/Outputs should be auto started in subsequent runs.
> Allow a Processor to trigger an Input as to when to fetch/prep data.
> --------------------------------------------------------------------
>
> Key: TEZ-668
> URL: https://issues.apache.org/jira/browse/TEZ-668
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Hitesh Shah
> Assignee: Siddharth Seth
> Attachments: TEZ-668.1.wip.txt
>
>
> In cases of container re-use or other scenarios, a processor may not need to process any data from a particular Input. Currently, an Input always fetches/preps the data as soon as its init() function is invoked.
> A Processor should have a way to trigger the Input to fetch data. This obviously has some overheads of delaying the fetch.
> The approach should be such that there is no additional burden on developers who write new processors when they need the normal flow of their inputs always fetching on init().
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)