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 2017/08/22 14:40:00 UTC
[jira] [Created] (FLINK-7489) Remove job lifecycle methods from
public JobMasterGateway interface
Till Rohrmann created FLINK-7489:
------------------------------------
Summary: Remove job lifecycle methods from public JobMasterGateway interface
Key: FLINK-7489
URL: https://issues.apache.org/jira/browse/FLINK-7489
Project: Flink
Issue Type: Improvement
Components: Distributed Coordination
Affects Versions: 1.4.0
Reporter: Till Rohrmann
Assignee: Till Rohrmann
Priority: Minor
The {{JobMaster}} exposes its job lifecycle methods {{startJobExecution}} and {{suspendExecution}} via its {{JobMasterGateway}} to the public. I think these methods should not be exposed because it allows other components to affect the job execution without proper reason. Only the {{JobManagerRunner}} should be responsible for calling these methods and has direct access to the {{JobMaster}} instance. Therefore, these methods can directly be implemented by the {{JobMaster}} without exposing them via the {{JobMasterGateway}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)