gianm closed pull request #6195: Fix running Overlord inside Coordinator
URL: https://github.com/apache/incubator-druid/pull/6195
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/services/src/main/java/io/druid/cli/CliOverlord.java
b/services/src/main/java/io/druid/cli/CliOverlord.java
index f7b7640c981..5b61e2275d8 100644
--- a/services/src/main/java/io/druid/cli/CliOverlord.java
+++ b/services/src/main/java/io/druid/cli/CliOverlord.java
@@ -34,6 +34,7 @@
import com.google.inject.util.Providers;
import io.airlift.airline.Command;
import io.druid.audit.AuditManager;
+import io.druid.client.indexing.HttpIndexingServiceClient;
import io.druid.client.indexing.IndexingService;
import io.druid.client.indexing.IndexingServiceClient;
import io.druid.client.indexing.IndexingServiceSelectorConfig;
@@ -188,7 +189,7 @@ public void configure(Binder binder)
binder.bind(IndexerMetadataStorageAdapter.class).in(LazySingleton.class);
binder.bind(SupervisorManager.class).in(LazySingleton.class);
-
binder.bind(IndexingServiceClient.class).toProvider(Providers.of(null));
+
binder.bind(IndexingServiceClient.class).to(HttpIndexingServiceClient.class).in(LazySingleton.class);
binder.bind(new
TypeLiteral<IndexTaskClientFactory<ParallelIndexTaskClient>>(){})
.toProvider(Providers.of(null));
binder.bind(ChatHandlerProvider.class).toProvider(Providers.of(null));
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]