You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Amol Kekre (JIRA)" <ji...@apache.org> on 2017/01/18 07:39:26 UTC

[jira] [Commented] (APEXCORE-503) support KillException

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

Amol Kekre commented on APEXCORE-503:
-------------------------------------


This is a good idea. We could have a way for operator to inform the Stram to initiate graceful shutdown. Then Stram can orchestrate that. A possile ways could be to

1. Initiate shutdown via control tuple through input operators. But this causes slow operators which are behind to lag till they catch up and then shutdown.
2. Stram issues a shutdown to StramChild (this exists today, aka same result as if the shutdown came from a webservice).

> support KillException
> ---------------------
>
>                 Key: APEXCORE-503
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-503
>             Project: Apache Apex Core
>          Issue Type: Improvement
>            Reporter: Sandesh
>
> Current way for Operators to stop the whole app is to use "ShutdownException". But it is considered as a graceful stop. To stop the whole App when an error condition happens, new exception should be supported, called "KillException" or "KillAppException.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)