[ 
https://issues.apache.org/jira/browse/GOBBLIN-1493?focusedWorklogId=628090&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-628090
 ]

ASF GitHub Bot logged work on GOBBLIN-1493:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 27/Jul/21 00:31
            Start Date: 27/Jul/21 00:31
    Worklog Time Spent: 10m 
      Work Description: Will-Lo commented on a change in pull request #3336:
URL: https://github.com/apache/gobblin/pull/3336#discussion_r677031613



##########
File path: 
gobblin-runtime/src/main/java/org/apache/gobblin/runtime/TaskStateCollectorService.java
##########
@@ -206,12 +222,53 @@ public Void call() throws Exception {
 
     LOGGER.info(String.format("Collected task state of %d completed tasks", 
taskStateQueue.size()));
 
+    Long taskByteSize;
+    String stringSize;
+    Double newPercentageCopied;
     // Add the TaskStates of completed tasks to the JobState so when the 
control
     // returns to the launcher, it sees the TaskStates of all completed tasks.
     for (TaskState taskState : taskStateQueue) {
       consumeTaskIssues(taskState);
       taskState.setJobState(this.jobState);
       this.jobState.addTaskState(taskState);
+

Review comment:
       I think a separate method for now is good here, until we can determine 
more use cases/extensions to the progress reporting




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 628090)
    Time Spent: 2h 10m  (was: 2h)

> Data Copy Progress Reporting 
> -----------------------------
>
>                 Key: GOBBLIN-1493
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1493
>             Project: Apache Gobblin
>          Issue Type: New Feature
>          Components: gobblin-core, gobblin-service
>            Reporter: Urmi Mustafi
>            Assignee: Abhishek Tiwari
>            Priority: Major
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Progress reporting for a data copy will provide users with quantitative 
> feedback on the progress of a data copy job as a percentage as well as an 
> estimate of the time remaining for completion. This will update the existing 
> job status endpoint to include the progress percentage and estimate of time 
> left. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to