reef-dev mailing list archives

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

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

Markus Weimer commented on REEF-1404:
-------------------------------------

{quote}
I mean if we want to inject it in ContextRuntime constructor. 
{quote} 

We should never have to do that. IMRU is a REEF application and should not require changes
to REEF's runtime code other than bug fixes and new features. We have the services mechanism
to make sure a given set of objects is always instantiated. See line 123 in the constructor
of {{ContextRuntime}}:

{code}
_injectedServices = serviceInjector.GetNamedInstance<ServicesSet, ISet<object>>();
{code}

The named parameter {{ServicesSet}} can be bound via {{ServiceConfiguration.Services}}.

> 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