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

Yuhong Cheng updated SAMZA-2450:
--------------------------------
    Description: 
Now, in StreamAppender, we need to get configs in StreamAppender which are 
already gotten when starting AM or containers. Also, now there're two different 
ways to get configs in AM and container.

So, it is better if we could:
 # have a uniform static method to get configs when starting AM/containers  
instead of getting configs from urls.
 # have a uniform checking condition whether to call setupSystem() or not 
instead of checking AM and waiting for JobCoordinator to start.
 # remove the checking whether this is AM or container

  was:
Now, in StreamAppender, we need to get configs in StreamAppender which are 
already gotten when starting AM or containers. Also, now there're two different 
ways to get configs in AM and container.

So, it is better if we could:
 # have a uniform static method to get configs when starting AM/containers  
instead of getting configs from urls.
 # have a uniform checking condition whether to call setupSystem() or not 
instead of checking AM and waiting for JobCoordinator to start.
 # remove the checking of AM


> Avoid getting config serval times when using StreamAppender
> -----------------------------------------------------------
>
>                 Key: SAMZA-2450
>                 URL: https://issues.apache.org/jira/browse/SAMZA-2450
>             Project: Samza
>          Issue Type: Improvement
>            Reporter: Yuhong Cheng
>            Priority: Minor
>
> Now, in StreamAppender, we need to get configs in StreamAppender which are 
> already gotten when starting AM or containers. Also, now there're two 
> different ways to get configs in AM and container.
> So, it is better if we could:
>  # have a uniform static method to get configs when starting AM/containers  
> instead of getting configs from urls.
>  # have a uniform checking condition whether to call setupSystem() or not 
> instead of checking AM and waiting for JobCoordinator to start.
>  # remove the checking whether this is AM or container



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to