You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2016/08/30 16:33:20 UTC

[jira] [Commented] (BATCHEE-91) Proper stop of all the running batches in case shutdown.

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

Mark Struberg commented on BATCHEE-91:
--------------------------------------

I think we are out of luck with the official JobOperator interface from the spec.

But we might implement a JobOperatorImpl#shutdown() method which stops the threads which are currently running on the current box.

> Proper stop of all the running batches in case shutdown.
> --------------------------------------------------------
>
>                 Key: BATCHEE-91
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-91
>             Project: BatchEE
>          Issue Type: Wish
>            Reporter: Ákos Kozák
>
> If a server will be shutdown it seems that running batch instances will be not stopped properly. They will remain in STARTED status.
> We should try to stop all the running batches if the whole server gets shut down. Probably try to wait for some specified amount of time (60 seconds? configurable?) and then kill them? Because it could happen that the Batch itself doesn’t react to the 'stop command'.



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