You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2019/01/23 09:50:00 UTC

[jira] [Created] (FLINK-11415) Introduce JobMasterServiceFactor for JobManagerRunner

Till Rohrmann created FLINK-11415:
-------------------------------------

             Summary: Introduce JobMasterServiceFactor for JobManagerRunner
                 Key: FLINK-11415
                 URL: https://issues.apache.org/jira/browse/FLINK-11415
             Project: Flink
          Issue Type: Improvement
          Components: Distributed Coordination
    Affects Versions: 1.8.0
            Reporter: Till Rohrmann
            Assignee: Till Rohrmann
             Fix For: 1.8.0


In order to better test the {{JobManagerRunner}}, I suggest to introduce a {{JobMasterServiceFactory}} which allows to control how the {{JobManagerRunner}} instantiates a {{JobMasterService}}. At the moment we create a {{JobMaster}} in the constructor of the {{JobManagerRunner}}. This unnecessarily couples these two components together and makes testing harder.



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