You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Julia (JIRA)" <ji...@apache.org> on 2016/09/20 22:53:20 UTC
[jira] [Comment Edited] (REEF-1404) IMRU task state Maintenance and
Preservation in Evaluator for fault tolerant
[ https://issues.apache.org/jira/browse/REEF-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507994#comment-15507994 ]
Julia edited comment on REEF-1404 at 9/20/16 10:52 PM:
-------------------------------------------------------
What are APIs in empty IStateManager? Something like below:
void AddLatestState(T stateObject);
T GetLatestState();
It is the implementation's responsibility to wrap the data inside T. In IMRU case, T can be set as UpdateResult<TMapInput, TResult>.
If the user wants to use iterations, it can be wrapped in a class that contains iteration and UpdateResult.
[~dkm2110], is this what you mean?
was (Author: juliaw):
What are APIs in empty IStateManager? Something like below:
void AddLatestState(T stateObject);
T GetLatestState(out int iteration);
It is the implementation's responsibility to wrap the data inside T. In IMRU case, T can be set as UpdateResult<TMapInput, TResult>.
If the user wants to use iterations, it can be wrapped in a class that contains iteration and UpdateResult.
[~dkm2110], is this what you mean?
> IMRU task state Maintenance and Preservation in Evaluator for fault tolerant
> ----------------------------------------------------------------------------
>
> Key: REEF-1404
> URL: https://issues.apache.org/jira/browse/REEF-1404
> Project: REEF
> Issue Type: Task
> Reporter: Julia
> Labels: FT
>
> IMRU task should be able to
> * Maintenance and preservation the state
> * When restart, able to recover from the previous sate
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)