[ 
https://issues.apache.org/jira/browse/TEZ-1062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13981824#comment-13981824
 ] 

Bikas Saha commented on TEZ-1062:
---------------------------------

Yes. SimpleProcessor has a postop() that is invoked after run(). The derived 
class can call commit in its impl of the postop() method.

> Create SimpleProcessor for processors that only need to implement the run 
> method
> --------------------------------------------------------------------------------
>
>                 Key: TEZ-1062
>                 URL: https://issues.apache.org/jira/browse/TEZ-1062
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Bikas Saha
>            Assignee: Mohammad Kamrul Islam
>         Attachments: TEZ-1062.1.patch, TEZ-1062.2.patch
>
>
> The SimpleProcessor could take care of all things like starting input, 
> committing outputs. It would handle no events, since simple processors dont 
> need to handle inputs. Thus the user would only need to implement their 
> custom task logic in a new execute() method.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to