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

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

                Author: ASF GitHub Bot
            Created on: 01/Mar/24 19:50
            Start Date: 01/Mar/24 19:50
    Worklog Time Spent: 10m 
      Work Description: phet commented on code in PR #3886:
URL: https://github.com/apache/gobblin/pull/3886#discussion_r1509463239


##########
gobblin-temporal/src/main/java/org/apache/gobblin/temporal/ddm/work/WUProcessingSpecForBorrowingPriorState.java:
##########
@@ -0,0 +1,114 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.gobblin.temporal.ddm.work;
+
+import java.io.IOException;
+import java.net.URI;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import lombok.Data;
+import lombok.NoArgsConstructor;
+import lombok.NonNull;
+
+import org.apache.hadoop.fs.FileSystem;
+
+import org.apache.gobblin.instrumented.GobblinMetricsKeys;
+import org.apache.gobblin.metrics.GobblinMetrics;
+import org.apache.gobblin.metrics.Tag;
+import org.apache.gobblin.metrics.event.TimingEvent;
+import org.apache.gobblin.runtime.JobState;
+import org.apache.gobblin.runtime.util.JobMetrics;
+import org.apache.gobblin.temporal.GobblinTemporalConfigurationKeys;
+import org.apache.gobblin.temporal.ddm.work.assistance.Help;
+import org.apache.gobblin.temporal.workflows.metrics.EventSubmitterContext;
+
+
+/**
+ * Same as {@link WUProcessingSpec}, but for a "stand-alone" "Work 
Fulfillment-only" workflow that leverages the
+ * {@link org.apache.gobblin.source.workunit.WorkUnit}s and {@link JobState} 
previously persisted by another separate
+ * job execution.  Accordingly we wish to adjust our {@link 
EventSubmitterContext} to reflect aspects of that original job.
+ */
+@Data
+@NoArgsConstructor // IMPORTANT: for jackson (de)serialization
+public class WUProcessingSpecForBorrowingPriorState extends WUProcessingSpec {

Review Comment:
   that's a better name... will change.
   
   this goes w/ `ProcessWorkUnitsWorkflow` and that's likely only to be an 
interim that is fully superseded as this impl. is hardened and gains maturity.
   
   the `ExecuteGobblinWorkflow` (herein this PR) will eventually become our 
sole LT go-to and uses `WUProcessingSpec`





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

    Worklog Id:     (was: 907851)
    Time Spent: 0.5h  (was: 20m)

> Implement Gobblin-on-Temporal End-to-End Workflow
> -------------------------------------------------
>
>                 Key: GOBBLIN-2010
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2010
>             Project: Apache Gobblin
>          Issue Type: New Feature
>          Components: gobblin-core
>            Reporter: Kip Kohn
>            Assignee: Abhishek Tiwari
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Provide a complete capability to execute a full Gobblin job through 
> Temporal.io. This follows on 
> https://issues.apache.org/jira/browse/GOBBLIN-1945 and 
> https://issues.apache.org/jira/browse/GOBBLIN-2007 .  Thereafter it will be 
> possible to provide an arbitrary `JobState` config that specifies the 
> intended `Source`, `Writer`, Publisher`, `Converter` etc. in order to carry 
> out whatever Data Movement is desired.



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

Reply via email to