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

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

                Author: ASF GitHub Bot
            Created on: 18/Oct/19 04:19
            Start Date: 18/Oct/19 04:19
    Worklog Time Spent: 10m 
      Work Description: sv2000 commented on pull request #2769: [GOBBLIN-917] 
kill orphan gaas jobs
URL: https://github.com/apache/incubator-gobblin/pull/2769#discussion_r336314482
 
 

 ##########
 File path: 
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/DagManager.java
 ##########
 @@ -545,8 +542,26 @@ private void pollAndAdvanceDag() throws IOException, 
ExecutionException, Interru
       }
     }
 
-    private ExecutionStatus getJobExecutionStatus(boolean slaKilled, JobStatus 
jobStatus) {
-      if (slaKilled) {
+    // cancel the job and returns true if the job status remains ORCHESTRATED 
for some specific time
+    private boolean killOrphanFlows(DagNode<JobExecutionPlan> node, JobStatus 
jobStatus)
 
 Review comment:
   killOrphanFlows -> killJobIfOrphaned
 
----------------------------------------------------------------
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: 330269)
    Time Spent: 0.5h  (was: 20m)

> gaas jobs not able to report status should be killed after some time
> --------------------------------------------------------------------
>
>                 Key: GOBBLIN-917
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-917
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: Arjun Singh Bora
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>




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

Reply via email to