You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Julia (JIRA)" <ji...@apache.org> on 2017/02/03 03:10:51 UTC

[jira] [Updated] (REEF-1733) Adding a method in IUpdateFunction to return TaskProgress

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

Julia updated REEF-1733:
------------------------
    Description: 
This is to add an ITaskProgressReporter interface to return the current progress of the task. It can be implemented by update task functions and UpdateTaskHost can then get the task progress by calling this API. 

TaskProgress TaskCurrentProgress();

TaskProgress will contain iteration number, progress, etc. We can put minimum properties for now and extend it when needed. 

As mappers' data are aggregated in update task, update task function is the one that knows the task progress and iterations, getting task progress from update task function should be sufficient for now. 





  was:
This is to add an API in IUpdateFunction for it to return the current progress of the update task. UpdateTaskHost can then get the task progress by calling this method. 

TaskProgress TaskCurrentProgress();

TaskProgress will contain iteration number, progress, etc. We can put minimum properties for now and extend it when needed. 

As mappers' data are aggregated in update task, IUpdateFunction is the one that knows the task progress and iterations, getting task progress from update task function should be sufficient for now. 






> Adding a method in IUpdateFunction to return TaskProgress
> ---------------------------------------------------------
>
>                 Key: REEF-1733
>                 URL: https://issues.apache.org/jira/browse/REEF-1733
>             Project: REEF
>          Issue Type: Task
>            Reporter: Julia
>            Assignee: Julia
>
> This is to add an ITaskProgressReporter interface to return the current progress of the task. It can be implemented by update task functions and UpdateTaskHost can then get the task progress by calling this API. 
> TaskProgress TaskCurrentProgress();
> TaskProgress will contain iteration number, progress, etc. We can put minimum properties for now and extend it when needed. 
> As mappers' data are aggregated in update task, update task function is the one that knows the task progress and iterations, getting task progress from update task function should be sufficient for now. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)