You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Jakob Homan (JIRA)" <ji...@apache.org> on 2015/05/22 08:52:17 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14555687#comment-14555687 ]
Jakob Homan commented on SAMZA-616:
-----------------------------------
+1 on backport.
> 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)