You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Sergiy Matusevych (JIRA)" <ji...@apache.org> on 2016/08/30 20:54:20 UTC
[jira] [Created] (REEF-1548) DriverStatusManager interface is not
coherent
Sergiy Matusevych created REEF-1548:
---------------------------------------
Summary: DriverStatusManager interface is not coherent
Key: REEF-1548
URL: https://issues.apache.org/jira/browse/REEF-1548
Project: REEF
Issue Type: Improvement
Components: REEF Driver
Reporter: Sergiy Matusevych
Assignee: Sergiy Matusevych
Priority: Minor
Class {{DriverStatusManager}} manages the driver state and provides interface for state transitions, with methods like {{.onInit()}}, {{.onRunning()}}, {{.onError()}}, and such.
In addition to that, it also has a method {{.sendJobEndingMessageToClient()}} that currently has nothing to do with the dirver's state transitions. That is, in some parts of REEF we use {{DriverStatusManager}} solely as the proxy to the job client.
That duality in the class interface is not desirable, and I suspect that we can make the {{.sendJobEndingMessageToClient()}} method private and connect it to some driver state transition
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)