[
https://issues.apache.org/jira/browse/TEZ-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15140381#comment-15140381
]
Siddharth Seth commented on TEZ-3029:
-------------------------------------
That means interpreting KILLED as a user initiated operation - which is what
the current behaviour is (the event comes in from a dagKill / appKill request
only) and FAILED for everything else. An explicit end reason (outside of
diagnostics) will likely be useful - but that's a separate jira. I'll change
the behaviour in this patch to go to the FAILED state.
> Add an onError method to service plugin contexts
> ------------------------------------------------
>
> Key: TEZ-3029
> URL: https://issues.apache.org/jira/browse/TEZ-3029
> Project: Apache Tez
> Issue Type: Sub-task
> Reporter: Siddharth Seth
> Assignee: Siddharth Seth
> Attachments: TEZ-3029.1.txt
>
>
> This is to indicate errors which may occur while running threads etc.
> One bit to be careful about is that this introduces two means of reporting
> errors - which has been challenging to handle in the past for
> Input/Processor/OutputContext - so whether to do this or not needs to be
> thought through.
> TaskSchedulerContext already has this method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)