reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julia (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (REEF-1733) Adding a method in IUpdateFunction to return TaskProgress
Date Fri, 03 Feb 2017 03:10:51 GMT

     [ 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)

Mime
View raw message