You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Yi Pan (Data Infrastructure) (JIRA)" <ji...@apache.org> on 2015/05/22 08:30:17 UTC
[jira] [Reopened] (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 ]
Yi Pan (Data Infrastructure) reopened SAMZA-616:
------------------------------------------------
Re-open to back port to 0.9.1
> 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-616.0.9.1.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)