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-1260) Adding a sample for Context Start handler
Date Thu, 17 Mar 2016 01:01:33 GMT

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

Markus Weimer commented on REEF-1260:
-------------------------------------

Can we make this a set of tests? They could validate that:

  1. {{ContextStart}} actually fires.
  2. Context configuration makes it to the Evaluator.
  3. Tasks have access to that Configuration.
  4. Subsequent Tasks get the same instances of objects managed in the Context.
  5. {{ContextStop}} actually fires.

> Adding a sample for Context Start handler
> -----------------------------------------
>
>                 Key: REEF-1260
>                 URL: https://issues.apache.org/jira/browse/REEF-1260
>             Project: REEF
>          Issue Type: Task
>          Components: REEF.NET
>            Reporter: Julia
>            Assignee: Julia
>
> For fault tolerant, we need to start data downloading portion when context is started.
Creating a sample code for it as a test case would be useful.
> The sample should show:
> * How to write a ContextStartHandler
> * How to bind it to Context configuration
> * How to inject a data dolowder to the handler
> * Where to start data downloading
> * How to check the status in task



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

Mime
View raw message