You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Dhruv Mahajan (JIRA)" <ji...@apache.org> on 2016/08/04 19:48:20 UTC

[jira] [Updated] (REEF-1507) IMap and IUpdate tasks should be initialized in the *Host constructors

     [ https://issues.apache.org/jira/browse/REEF-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dhruv Mahajan updated REEF-1507:
--------------------------------
    Description: 
Currently in IMRU, {{IMapTask}} and {{IUpdateTask}} are injected as part of constructor of corresponding {{*Host}} Tasks. As a result currently, when we ask for group comm. operators and registration happens, first we have to wait for data to be downloaded, since it is typically accessed within the constructor of {{IMapTask}}. As a result master task can timeout in registration and retry parameter there needs to change depending on the size of data. 

We would like to delay the initiation of {{IMapTask}} by getting the injector in the task creation and only initiating the map and master tasks at the end of the constructor.

  was:
Currently in IMRU, {{IMapTask}} and {{IUpdateTask}} are injected as part of constructor of corresponding {{*Host}} Tasks. As a result currently, when we ask for group comm. operators and registration happens, first we have to wait fpr data to be downloaded, since it is typically accessed within the constructor of {{IMapTask}}. As a result master task can timeout in registration and retry parameter there needs to change depending on the size of data. 

We would like to delay the initiation of {{IMapTask}} by getting the injector in the task creation and only initiating the map and master tasks at the end of the constructor.


> IMap and IUpdate tasks should be initialized in the *Host constructors
> ----------------------------------------------------------------------
>
>                 Key: REEF-1507
>                 URL: https://issues.apache.org/jira/browse/REEF-1507
>             Project: REEF
>          Issue Type: Improvement
>          Components: REEF.NET
>         Environment: C#
>            Reporter: Dhruv Mahajan
>            Assignee: Dhruv Mahajan
>
> Currently in IMRU, {{IMapTask}} and {{IUpdateTask}} are injected as part of constructor of corresponding {{*Host}} Tasks. As a result currently, when we ask for group comm. operators and registration happens, first we have to wait for data to be downloaded, since it is typically accessed within the constructor of {{IMapTask}}. As a result master task can timeout in registration and retry parameter there needs to change depending on the size of data. 
> We would like to delay the initiation of {{IMapTask}} by getting the injector in the task creation and only initiating the map and master tasks at the end of the constructor.



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