[ https://issues.apache.org/jira/browse/GOBBLIN-1068?focusedWorklogId=416750&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-416750 ]
ASF GitHub Bot logged work on GOBBLIN-1068: ------------------------------------------- Author: ASF GitHub Bot Created on: 06/Apr/20 16:45 Start Date: 06/Apr/20 16:45 Worklog Time Spent: 10m Work Description: sv2000 commented on pull request #2907: [GOBBLIN-1068]Clean up cyclic logic in task cancellation URL: https://github.com/apache/incubator-gobblin/pull/2907#discussion_r404205440 ########## File path: gobblin-cluster/src/main/java/org/apache/gobblin/cluster/SingleTask.java ########## @@ -167,7 +167,7 @@ public void cancel() { if (_taskAttempt != null) { try { _logger.info("Task cancelled: Shutdown starting for tasks with jobId: {}", _jobId); - _taskAttempt.shutdownTasks(); + _taskAttempt.cancel(); _logger.info("Task cancelled: Shutdown complete for tasks with jobId: {}", _jobId); Review comment: Same here. "Cancellation complete..." ---------------------------------------------------------------- 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: 416750) Time Spent: 1h 40m (was: 1.5h) > Clean cyclic logic in task cancellation in Gobblin Task > ------------------------------------------------------- > > Key: GOBBLIN-1068 > URL: https://issues.apache.org/jira/browse/GOBBLIN-1068 > Project: Apache Gobblin > Issue Type: Bug > Reporter: Lei Sun > Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)