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

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

                Author: ASF GitHub Bot
            Created on: 02/Aug/24 18:41
            Start Date: 02/Aug/24 18:41
    Worklog Time Spent: 10m 
      Work Description: arjun4084346 commented on code in PR #4012:
URL: https://github.com/apache/gobblin/pull/4012#discussion_r1702197031


##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/DagProcessingEngine.java:
##########
@@ -140,6 +153,11 @@ public void run() {
           dagTask.conclude();
         } catch (Exception e) {
           log.error("DagProcEngineThread encountered exception while 
processing dag " + dagProc.getDagId(), e);
+          if (KafkaJobStatusMonitor.isThrowableInstanceOf(e, 
this.nonRetryableExceptions)) {
+            // conclude the lease so that it is not retried, if the dag proc 
fails with non-transient exception
+            dagTask.conclude();
+            
dagManagementStateStore.getDagManagerMetrics().dagProcessingNonRetryableExceptionMeter.mark();

Review Comment:
   why to pass another parameter to DagProcFactory or individual DagProcs?
   We can just catch it in DagProc::process





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

    Worklog Id:     (was: 928564)
    Time Spent: 2h 40m  (was: 2.5h)

>  redirect kill requests to dag proc engine
> ------------------------------------------
>
>                 Key: GOBBLIN-2121
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2121
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: Arjun Singh Bora
>            Priority: Major
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to