You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gobblin.apache.org by su...@apache.org on 2021/06/04 23:43:43 UTC

[gobblin] branch master updated: [GOBBLIN-1456] do not remove spec on update

This is an automated email from the ASF dual-hosted git repository.

suvasude pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/gobblin.git


The following commit(s) were added to refs/heads/master by this push:
     new 5199078  [GOBBLIN-1456] do not remove spec on update
5199078 is described below

commit 5199078a82dcb338bcc66b81631b4e6c7bd75c5f
Author: Arjun <ab...@linkedin.com>
AuthorDate: Fri Jun 4 16:43:36 2021 -0700

    [GOBBLIN-1456] do not remove spec on update
    
    Closes #3295 from arjun4084346/fix_update
---
 .../service/modules/scheduler/GobblinServiceJobScheduler.java        | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gobblin-service/src/main/java/org/apache/gobblin/service/modules/scheduler/GobblinServiceJobScheduler.java b/gobblin-service/src/main/java/org/apache/gobblin/service/modules/scheduler/GobblinServiceJobScheduler.java
index 53366ae..d4cadc6 100644
--- a/gobblin-service/src/main/java/org/apache/gobblin/service/modules/scheduler/GobblinServiceJobScheduler.java
+++ b/gobblin-service/src/main/java/org/apache/gobblin/service/modules/scheduler/GobblinServiceJobScheduler.java
@@ -375,11 +375,6 @@ public class GobblinServiceJobScheduler extends JobScheduler implements SpecCata
     }
 
     try {
-      onDeleteSpec(updatedSpec.getUri(), updatedSpec.getVersion());
-    } catch (Exception e) {
-      _log.error("Failed to update Spec: " + updatedSpec, e);
-    }
-    try {
       onAddSpec(updatedSpec);
     } catch (Exception e) {
       _log.error("Failed to update Spec: " + updatedSpec, e);