reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julia (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (REEF-1404) IMRU task state Maintenance and Preservation in Evaluator for fault tolerant
Date Tue, 20 Sep 2016 22:53:20 GMT

    [ 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)

Mime
View raw message