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 Wed, 21 Sep 2016 01:38:20 GMT

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

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

In this case,

1. IStateManager can be just an empty interface and it is up to the client to wrap whatever
data they want. 
2. Client needs to supply the Codec impl to decode/encode the data between the data object
and byte array.

Then client (in task for example), still needs to save the data (state) somewhere, such as
in an object shared between  context and tasks so that it can be kept even when task is killed.
And we should define API for AddState and GetState. Where should those two APIs be? Still
in IStateManager or ICodec? I am confused. 

> 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