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

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

                Author: ASF GitHub Bot
            Created on: 28/Jul/21 22:05
            Start Date: 28/Jul/21 22:05
    Worklog Time Spent: 10m 
      Work Description: umustafi commented on a change in pull request #3336:
URL: https://github.com/apache/gobblin/pull/3336#discussion_r678683993



##########
File path: 
gobblin-restli/gobblin-flow-config-service/gobblin-flow-config-service-server/src/main/java/org/apache/gobblin/service/FlowExecutionResourceLocalHandler.java
##########
@@ -199,4 +206,20 @@ public static FlowExecution 
convertFlowStatus(org.apache.gobblin.service.monitor
   private static long 
getFlowStartTime(org.apache.gobblin.service.monitoring.FlowStatus flowStatus) {
     return flowStatus.getFlowExecutionId();
   }
+
+  /**
+   * Estimate the time left to complete the copy based on the following 
formula -
+   * timeLeft = (100/completionPercentage) * timeElapsed

Review comment:
       also added a test with this case




-- 
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: 630810)
    Time Spent: 4h 40m  (was: 4.5h)

> 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: 4h 40m
>  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