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

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

                Author: ASF GitHub Bot
            Created on: 26/Mar/24 16:09
            Start Date: 26/Mar/24 16:09
    Worklog Time Spent: 10m 
      Work Description: phet commented on code in PR #3896:
URL: https://github.com/apache/gobblin/pull/3896#discussion_r1539569865


##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/task/DagTask.java:
##########
@@ -42,11 +43,14 @@ public abstract class DagTask {
   @Getter public final DagActionStore.DagAction dagAction;
   private final MultiActiveLeaseArbiter.LeaseObtainedStatus 
leaseObtainedStatus;
   @Getter protected final DagManager.DagId dagId;
+  @Getter protected final DagNodeId dagNodeId;
 
   public DagTask(DagActionStore.DagAction dagAction, 
MultiActiveLeaseArbiter.LeaseObtainedStatus leaseObtainedStatus) {
     this.dagAction = dagAction;
     this.leaseObtainedStatus = leaseObtainedStatus;
     this.dagId = DagManagerUtils.generateDagId(dagAction.getFlowGroup(), 
dagAction.getFlowName(), dagAction.getFlowExecutionId());
+    this.dagNodeId = new DagNodeId(dagAction.getFlowGroup(), 
dagAction.getFlowName(),
+        Long.parseLong(dagAction.getFlowExecutionId()), 
dagAction.getFlowGroup(), dagAction.getJobName());

Review Comment:
   makes sense to me.  we may not yet have made a thorough analysis of what 
belongs in which package...





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

    Worklog Id:     (was: 911630)
    Time Spent: 6h 40m  (was: 6.5h)

> create dag proc for taking actions on job completion
> ----------------------------------------------------
>
>                 Key: GOBBLIN-2022
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2022
>             Project: Apache Gobblin
>          Issue Type: Task
>            Reporter: Arjun Singh Bora
>            Priority: Major
>          Time Spent: 6h 40m
>  Remaining Estimate: 0h
>




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

Reply via email to