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

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

                Author: ASF GitHub Bot
            Created on: 03/Aug/24 01:33
            Start Date: 03/Aug/24 01:33
    Worklog Time Spent: 10m 
      Work Description: arjun4084346 commented on code in PR #4016:
URL: https://github.com/apache/gobblin/pull/4016#discussion_r1702428571


##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/proc/DagProc.java:
##########
@@ -75,8 +91,19 @@ public final void process(DagManagementStateStore 
dagManagementStateStore,
       dagProcEngineMetrics.markDagActionsInitialize(getDagActionType(), false);
       throw e;
     }
-    act(dagManagementStateStore, state, dagProcEngineMetrics);
-    log.info("{} concluded processing for dagId : {}", 
getClass().getSimpleName(), this.dagId);
+    try {
+      act(dagManagementStateStore, state, dagProcEngineMetrics);
+    } catch (Exception e) {
+      if (isTransientException(e)) {
+        log.info("Ignoring transient exception. DagTask {} will conclude and 
will not be retried. Exception - {} ",
+            getDagTask(), e);
+        
dagManagementStateStore.getDagManagerMetrics().dagProcessingNonRetryableExceptionMeter.mark();
+        
dagManagementStateStore.getDagManagerMetrics().dagProcessingExceptionMeter.mark();

Review Comment:
   um, if we do that it will be double counted, because DagProcEngineThread 
also increases it.





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

    Worklog Id:     (was: 928607)
    Time Spent: 50m  (was: 40m)

> ignore non-retryable exceptions in dag proc engine
> --------------------------------------------------
>
>                 Key: GOBBLIN-2124
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2124
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: Arjun Singh Bora
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>




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

Reply via email to