|
|
|
@ -85,6 +85,7 @@ public class WorkerTaskKillProcessor implements WorkerRpcProcessor {
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
boolean result = doKill(taskExecutionContext); |
|
|
|
|
this.cancelApplication(taskInstanceId); |
|
|
|
|
|
|
|
|
|
int processId = taskExecutionContext.getProcessId(); |
|
|
|
@ -97,8 +98,6 @@ public class WorkerTaskKillProcessor implements WorkerRpcProcessor {
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
boolean result = doKill(taskExecutionContext); |
|
|
|
|
|
|
|
|
|
taskExecutionContext.setCurrentExecutionStatus( |
|
|
|
|
result ? TaskExecutionStatus.SUCCESS : TaskExecutionStatus.FAILURE); |
|
|
|
|
sendTaskKillResponseCommand(channel, message.getOpaque(), taskExecutionContext); |
|
|
|
|