batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BATCHEE-91) Proper stop of all the running batches in case shutdown.
Date Wed, 31 Aug 2016 08:22:20 GMT

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

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

We already have a shutdown() method in our BatchThreadPoolService. I think this is the most
straight forward way to have control over it.

> 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)

Mime
View raw message