You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@samza.apache.org by cameronlee314 <gi...@git.apache.org> on 2018/05/09 20:38:04 UTC

[GitHub] samza pull request #512: SAMZA-1709 : Use lazy creation for SystemAdmins in ...

GitHub user cameronlee314 opened a pull request:

    https://github.com/apache/samza/pull/512

    SAMZA-1709 : Use lazy creation for SystemAdmins in ApplicationRunners

    An instance of SystemAdmins is created when instantiating any AbstractApplicationRunner, but the SystemAdmins is only actually needed for some of the methods for some of the runners. For example, LocalApplicationRunner.kill does not need SystemAdmins, and LocalContainerRunner does not need SystemAdmins for anything.
    Doing lazy instantiation allows us to more easily manage the SystemAdmins lifecycle, since it removes the need to add lifecycle hooks for the ApplicationRunner.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cameronlee314/samza runnner_system_admins

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/samza/pull/512.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #512
    
----
commit bcf3603514bf2d36cee0e231befe863d777a1910
Author: Cameron Lee <ca...@...>
Date:   2018-05-09T20:26:25Z

    SAMZA-1709 : Use lazy creation for SystemAdmins in ApplicationRunners

----


---

[GitHub] samza pull request #512: SAMZA-1709 : Use lazy creation for SystemAdmins in ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/samza/pull/512


---