You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Xinyu Liu (JIRA)" <ji...@apache.org> on 2018/01/04 20:37:00 UTC

[jira] [Updated] (SAMZA-1300) Init and close for Functions and ContextManager in a StreamApplication should only be called once per ApplicationRunner

     [ https://issues.apache.org/jira/browse/SAMZA-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xinyu Liu updated SAMZA-1300:
-----------------------------
    Fix Version/s:     (was: 0.14.0)
                   0.15.0

> Init and close for Functions and ContextManager in a StreamApplication should only be called once per ApplicationRunner
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SAMZA-1300
>                 URL: https://issues.apache.org/jira/browse/SAMZA-1300
>             Project: Samza
>          Issue Type: Bug
>            Reporter: Prateek Maheshwari
>             Fix For: 0.15.0
>
>
> Currently Function and ContextManager init is called per instance of the StreamOperatorTask. 
> When using an StreamApplication with the LocalApplicationRunner + ZkJobCoordinator, SamzaContainers are recycled when the JobModel is updated. 
> This will lead to init and close being called for Functions and ContextManager multiple times during the ApplicationRunner and StreamApplication lifecycle. This needs to be fixed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)