From daed1bc1417e832109ea5177d2724e0c8576e6ce Mon Sep 17 00:00:00 2001 From: litao91 Date: Sun, 16 Jun 2019 15:31:42 +0800 Subject: [PATCH] Fix HttpRemoteTaskRunnerConfig not loading (#7902) --- .../org/apache/druid/guice/IndexingServiceModuleHelper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indexing-service/src/main/java/org/apache/druid/guice/IndexingServiceModuleHelper.java b/indexing-service/src/main/java/org/apache/druid/guice/IndexingServiceModuleHelper.java index 5135c97cc93..cc3732439d8 100644 --- a/indexing-service/src/main/java/org/apache/druid/guice/IndexingServiceModuleHelper.java +++ b/indexing-service/src/main/java/org/apache/druid/guice/IndexingServiceModuleHelper.java @@ -21,6 +21,7 @@ package org.apache.druid.guice; import com.google.inject.Binder; import org.apache.druid.indexing.overlord.config.ForkingTaskRunnerConfig; +import org.apache.druid.indexing.overlord.config.HttpRemoteTaskRunnerConfig; import org.apache.druid.indexing.overlord.config.RemoteTaskRunnerConfig; import org.apache.druid.server.initialization.IndexerZkConfig; @@ -34,6 +35,7 @@ public class IndexingServiceModuleHelper { JsonConfigProvider.bind(binder, INDEXER_RUNNER_PROPERTY_PREFIX, ForkingTaskRunnerConfig.class); JsonConfigProvider.bind(binder, INDEXER_RUNNER_PROPERTY_PREFIX, RemoteTaskRunnerConfig.class); + JsonConfigProvider.bind(binder, INDEXER_RUNNER_PROPERTY_PREFIX, HttpRemoteTaskRunnerConfig.class); JsonConfigProvider.bind(binder, "druid.zk.paths.indexer", IndexerZkConfig.class); } }