[
https://issues.apache.org/jira/browse/GOBBLIN-2132?focusedWorklogId=930326&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-930326
]
ASF GitHub Bot logged work on GOBBLIN-2132:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 15/Aug/24 05:48
Start Date: 15/Aug/24 05:48
Worklog Time Spent: 10m
Work Description: arjun4084346 commented on code in PR #4026:
URL: https://github.com/apache/gobblin/pull/4026#discussion_r1717984089
##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/proc/DagProcUtils.java:
##########
@@ -199,6 +202,21 @@ private static void
sendCancellationEvent(Dag.DagNode<JobExecutionPlan> dagNodeT
jobExecutionPlan.setExecutionStatus(CANCELLED);
}
+ public static void setAndEmitFlowEvent(EventSubmitter eventSubmitter,
Dag<JobExecutionPlan> dag, String flowEvent) {
+ if (!dag.isEmpty()) {
+ // Every dag node will contain the same flow metadata
+ Config config = DagManagerUtils.getDagJobConfig(dag);
+ Map<String, String> flowMetadata =
TimingEventUtils.getFlowMetadata(config);
+ dag.setFlowEvent(flowEvent);
Review Comment:
i am still setting it here, so that future team can decide what to do with
this field, for now marked it as @Deprecated
Issue Time Tracking
-------------------
Worklog Id: (was: 930326)
Time Spent: 1h 50m (was: 1h 40m)
> set and emit flow running status
> --------------------------------
>
> Key: GOBBLIN-2132
> URL: https://issues.apache.org/jira/browse/GOBBLIN-2132
> Project: Apache Gobblin
> Issue Type: Bug
> Reporter: Arjun Singh Bora
> Priority: Major
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)