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

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

                Author: ASF GitHub Bot
            Created on: 13/Aug/19 04:34
            Start Date: 13/Aug/19 04:34
    Worklog Time Spent: 10m 
      Work Description: sv2000 commented on pull request #2702: [GOBBLIN-847] 
Flow level sla
URL: https://github.com/apache/incubator-gobblin/pull/2702#discussion_r313216048
 
 

 ##########
 File path: 
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/DagManager.java
 ##########
 @@ -473,22 +490,20 @@ private void initialize(Dag<JobExecutionPlan> dag)
     /**
      * Proceed the execution of each dag node based on job status.
      */
-    private void pollAndAdvanceDag()
-        throws IOException {
+    private void pollAndAdvanceDag() throws IOException, ExecutionException, 
InterruptedException {
       this.failedDagIdsFinishRunning.clear();
-
       Map<String, Set<DagNode<JobExecutionPlan>>> nextSubmitted = 
Maps.newHashMap();
       List<DagNode<JobExecutionPlan>> nodesToCleanUp = Lists.newArrayList();
+
       for (DagNode<JobExecutionPlan> node: this.jobToDag.keySet()) {
-        long pollStartTime = System.nanoTime();
+        boolean slaKilled = slaKillIfNeeded(node);
+
         JobStatus jobStatus = pollJobStatus(node);
 
 Review comment:
   Do we have to pollJobStatus if slaKilled is true? 
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


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

    Worklog Id:     (was: 293593)
    Time Spent: 3h 10m  (was: 3h)

> add a flow level sla in gaas flows
> ----------------------------------
>
>                 Key: GOBBLIN-847
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-847
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: Arjun Singh Bora
>            Priority: Major
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> add a flow level sla in gaas flows, because sometimes azkaban jobs may not 
> start and hence send any tracking event, or azkaban maybe down. in all those 
> cases, we might have to kill the job so we can start a new job



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to