From 187b788089982acf667e11326975cbd7dfb1c806 Mon Sep 17 00:00:00 2001 From: Charles Allen Date: Thu, 25 Feb 2016 08:04:25 -0800 Subject: [PATCH] UnRegister port in ForkingTaskRunner --- .../main/java/io/druid/indexing/overlord/ForkingTaskRunner.java | 1 + 1 file changed, 1 insertion(+) diff --git a/indexing-service/src/main/java/io/druid/indexing/overlord/ForkingTaskRunner.java b/indexing-service/src/main/java/io/druid/indexing/overlord/ForkingTaskRunner.java index 32d421289e6..aff87140dd1 100644 --- a/indexing-service/src/main/java/io/druid/indexing/overlord/ForkingTaskRunner.java +++ b/indexing-service/src/main/java/io/druid/indexing/overlord/ForkingTaskRunner.java @@ -425,6 +425,7 @@ public class ForkingTaskRunner implements TaskRunner, TaskLogStreamer } } + portFinder.markPortUnused(childPort); if (childChatHandlerPort > 0) { portFinder.markPortUnused(childChatHandlerPort); }