Shanthoosh Venkataraman created SAMZA-2168:
----------------------------------------------

             Summary: Remove redundant SystemAdmin creation in ApplicationMaster
                 Key: SAMZA-2168
                 URL: https://issues.apache.org/jira/browse/SAMZA-2168
             Project: Samza
          Issue Type: Improvement
            Reporter: Shanthoosh Venkataraman
            Assignee: Shanthoosh Venkataraman


Samza ApplicationMaster is a process responsible for scheduling, orchestrating 
and managing the lifecycle of containers of a samza job.

SystemAdmin abstraction is used in samza to validate, create and fetch the 
metadata of input and metadata streams of the samza job. Creating a SystemAdmin 
instance for a system is an expensive operation which entails creating the 
connection with the broker and setting up resources.

Currently, SystemAdmin for a system is created multiple times across the 
different components of the samza ApplicationMaster. This duplicate SystemAdmin 
creation happens as a part of the  startup sequence of ApplicationMaster and 
unnecessarily increases the  startup time of ApplicationMaster.

Ideally, the SystemAdmin for a system should be created once and shared by all 
the components of the ApplicationMaster. This ticket tracks the work involved 
in fixing this behavior.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to