[ https://issues.apache.org/jira/browse/GOBBLIN-722?focusedWorklogId=222782&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-222782 ]
ASF GitHub Bot logged work on GOBBLIN-722: ------------------------------------------ Author: ASF GitHub Bot Created on: 04/Apr/19 03:27 Start Date: 04/Apr/19 03:27 Worklog Time Spent: 10m Work Description: sv2000 commented on pull request #2589: [GOBBLIN-722] Unschedule gaas flow URL: https://github.com/apache/incubator-gobblin/pull/2589#discussion_r272006054 ########## File path: gobblin-runtime/src/main/java/org/apache/gobblin/scheduler/JobScheduler.java ########## @@ -351,8 +351,8 @@ public void scheduleJob(Properties jobProps, JobListener jobListener, Map<String String jobName = jobProps.getProperty(ConfigurationKeys.JOB_NAME_KEY); if (this.scheduledJobs.containsKey(jobName)) { - LOG.warn("Job " + jobName + " has already been scheduled"); - return; + LOG.info("Job " + jobName + " was already scheduled, un-scheduling it now."); + unscheduleJob(jobName); Review comment: Why are we calling uscheduleJob here? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 222782) Time Spent: 20m (was: 10m) > add option to unschedule a gaas flow > ------------------------------------ > > Key: GOBBLIN-722 > URL: https://issues.apache.org/jira/browse/GOBBLIN-722 > Project: Apache Gobblin > Issue Type: Improvement > Reporter: Arjun Singh Bora > Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > -- This message was sent by Atlassian JIRA (v7.6.3#76005)