reef-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/REEF-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507474#comment-15507474
] 

Julia commented on REEF-1404:
-----------------------------

There are different granularity level that we can manage the state:

If using the API proposed above, we basically let the implementation to maintain a IDictionary<int
iteration, T stateObject>. It fits iteration based structure.

We can also just make state as T stateObject. It is up the to user to construct their T as
a state class to store whatever they want to store. 

To make injection simpler for generic, we can also use object, let Task to do type casting.


> 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