[
https://issues.apache.org/jira/browse/SAMZA-887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15209364#comment-15209364
]
Navina Ramesh commented on SAMZA-887:
-------------------------------------
[~TaoFeng] I left a comment in your RB.
> Use cached JobModel everywhere in the Samza AM container
> --------------------------------------------------------
>
> Key: SAMZA-887
> URL: https://issues.apache.org/jira/browse/SAMZA-887
> Project: Samza
> Issue Type: Bug
> Reporter: Navina Ramesh
> Assignee: Tao Feng
>
> Since the CoordinatorStreamConsumer is inefficient in how it stays up-to-date
> with the coordinator stream, it is not acceptable to call
> jobcoordinator.jobModel() to access the jobmodel within the AM container.
> This will trigger a "refreshJobModel" on each access. Instead, we should be
> using cached job model's reference (JobCoordinator.jobModelRef) to access the
> config.
> As of today, this incorrect access pattern can be seen StreamAppender.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)