sv2000 commented on a change in pull request #2907: [GOBBLIN-1068]Clean up
cyclic logic in task cancellation
URL: https://github.com/apache/incubator-gobblin/pull/2907#discussion_r387984837
##########
File path:
gobblin-cluster/src/main/java/org/apache/gobblin/cluster/SingleTask.java
##########
@@ -155,7 +155,7 @@ public void cancel() {
if (_taskattempt != null) {
try {
_logger.info("Task cancelled: Shutdown starting for tasks with jobId:
{}", _jobId);
- _taskattempt.shutdownTasks();
+ _taskattempt.cancelGobblinMultiAttempts();
Review comment:
Just _taskattempt.cancel()?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services