abhishekmjain commented on code in PR #4167:
URL: https://github.com/apache/gobblin/pull/4167#discussion_r2910847750
##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/proc/DagProcUtils.java:
##########
@@ -102,6 +107,17 @@ public static void
submitJobToExecutor(DagManagementStateStore dagManagementStat
String specExecutorUri = DagUtils.getSpecExecutorUri(dagNode);
+ // Set MDC jobName for this job execution scope
+ String jobName = DagUtils.getJobName(dagNode);
+ MDC.put(ConfigurationKeys.JOB_NAME_KEY, jobName);
+
+ submitJobToExecutorInternal(dagManagementStateStore, dagNode, dagId,
jobExecutionPlan, jobSpec,
+ jobMetadata, specExecutorUri);
+ }
+
+ private static void submitJobToExecutorInternal(DagManagementStateStore
dagManagementStateStore,
Review Comment:
is there a need for a new function here?
--
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]