You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Markus Weimer (JIRA)" <ji...@apache.org> on 2016/09/16 22:38:20 UTC

[jira] [Commented] (REEF-1565) Make Context accessible from task

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

Markus Weimer commented on REEF-1565:
-------------------------------------

Wouldn't it be more natural to fix the REEF.NET Evaluator to properly use Tang in the way the java version does? That way, the Context can contain an injectable object which is made available to the Task, instead of exposing implementation details to the user like the PR for this does.

> Make Context accessible from task
> ---------------------------------
>
>                 Key: REEF-1565
>                 URL: https://issues.apache.org/jira/browse/REEF-1565
>             Project: REEF
>          Issue Type: Task
>            Reporter: Julia
>            Assignee: Julia
>              Labels: FT
>
> For fault tolerant, states should be saved at context level so that when the task is resubmitted, update task host would be able to restore the state from the context. 
> Currently, we start task from context. But inside task we are not able to access context. As ContextRuntime could have multiple instances, it is not created by injection. 
> This Jira is to make Task able to inject context where the task is running on. This is the first step for the state management. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)