You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Tommy Becker (JIRA)" <ji...@apache.org> on 2015/04/06 14:23:12 UTC
[jira] [Updated] (SAMZA-616) Shutdown hook does not wait for
container to finish
[ https://issues.apache.org/jira/browse/SAMZA-616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tommy Becker updated SAMZA-616:
-------------------------------
Attachment: 0001-SAMZA-616.patch
> Shutdown hook does not wait for container to finish
> ---------------------------------------------------
>
> Key: SAMZA-616
> URL: https://issues.apache.org/jira/browse/SAMZA-616
> Project: Samza
> Issue Type: Bug
> Components: container
> Affects Versions: 0.9.0
> Reporter: Chris Riccomini
> Assignee: Tommy Becker
> Fix For: 0.10.0
>
> Attachments: 0001-SAMZA-616.patch
>
>
> SAMZA-506 introduced a shutdown hook to set shutdownNow to true in Samza's RunLoop. Unfortunately, this hook returns immediately after {{shutdowNow=true}} is set. As soon as the shutdown hook returns, the process dies. We should have the shutdown hook block (with some timeout) until the container fully shuts itself down.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)