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

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

                Author: ASF GitHub Bot
            Created on: 25/Mar/24 17:27
            Start Date: 25/Mar/24 17:27
    Worklog Time Spent: 10m 
      Work Description: phet commented on code in PR #3900:
URL: https://github.com/apache/gobblin/pull/3900#discussion_r1537942990


##########
gobblin-temporal/src/main/java/org/apache/gobblin/temporal/ddm/work/assistance/Help.java:
##########
@@ -77,9 +77,9 @@ public static String 
qualifyNamePerExecWithoutFlowExecId(String name, Config wor
   }
 
   /** @return execution-specific name, incorporating any {@link 
ConfigurationKeys#FLOW_EXECUTION_ID_KEY} from `workerConfig` */
-  public static String qualifyNamePerExecWithFlowExecId(String name, Config 
workerConfig) {
-    Optional<String> optFlowExecId = 
Optional.ofNullable(ConfigUtils.getString(workerConfig, 
ConfigurationKeys.FLOW_EXECUTION_ID_KEY, null));
-    return name + "_" + calcPerExecQualifierWithOptFlowExecId(optFlowExecId, 
workerConfig);
+  public static String qualifyNamePerExecWithFlowExecId(String name, Config 
jobProps) {

Review Comment:
   javadoc still names `workerConfig`.  also, we could be more agnostic and 
just call it `config`, given it's up to the caller of what to pass in, since 
really you haven't altered impl semantics here, only naming.





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

    Worklog Id:     (was: 911342)
    Time Spent: 2h 10m  (was: 2h)

> Fixes failed workflow paths in Temporal to properly emit GTE and fail job 
> when commit fails
> -------------------------------------------------------------------------------------------
>
>                 Key: GOBBLIN-2020
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2020
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: William Lo
>            Priority: Major
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> There are a few bugs in Gobblin-Temporal execution mode:
> 1. If the publishing step fails, the activity does not report a failure due 
> to missing a step post commit to check the dataset states
> 2. No GTEs are emitted upon job failure, which makes tracking difficult
> 3. Some metadata propagation for flow execution ID with workflows is 
> incorrect due to a bug reading worker configs instead of job props
> 4. The GenerateWus activity does not return the right number of workunits 
> created due to counting top level multiworkunits



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

Reply via email to