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/03 18:23:53 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=14394647#comment-14394647 ] 

Tommy Becker commented on SAMZA-616:
------------------------------------

[~criccomini] any thoughts regarding the timeout?  Does it need to be configurable?

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