mirror of https://github.com/apache/druid.git
more changes
This commit is contained in:
parent
eaea8ae163
commit
465b78b4bc
|
@ -256,6 +256,11 @@ public class RemoteTaskRunner implements TaskRunner, TaskLogProvider
|
||||||
@Override
|
@Override
|
||||||
public void shutdown(String taskId)
|
public void shutdown(String taskId)
|
||||||
{
|
{
|
||||||
|
if (pendingTasks.containsKey(taskId)) {
|
||||||
|
pendingTasks.remove(taskId);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
final ZkWorker zkWorker = findWorkerRunningTask(taskId);
|
final ZkWorker zkWorker = findWorkerRunningTask(taskId);
|
||||||
|
|
||||||
if (zkWorker == null) {
|
if (zkWorker == null) {
|
||||||
|
|
Loading…
Reference in New Issue