GWphua opened a new pull request, #19265:
URL: https://github.com/apache/druid/pull/19265
Fix: Coordinator fails to start with logs:
```
1) [Guice/MissingImplementation]: No implementation for QueryConfigProvider
was bound.
Requested by:
1 : QueryLifecycleFactory.<init>(QueryLifecycleFactory.java:66)
\_ for 9th parameter
at
CoordinatorSegmentMetadataCache.<init>(CoordinatorSegmentMetadataCache.java:144)
\_ for 1st parameter
at DruidCoordinator.<init>(DruidCoordinator.java:198)
\_ for 14th parameter
at CliCoordinator$1.configure(CliCoordinator.java:223)
\_ installed by: Modules$OverrideModule -> Modules$OverrideModule ->
CliCoordinator$1
Learn more:
https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION
1 error
======================
Full classname legend:
======================
CliCoordinator$1: "org.apache.druid.cli.CliCoordinator$1"
CoordinatorSegmentMetadataCache:
"org.apache.druid.segment.metadata.CoordinatorSegmentMetadataCache"
DruidCoordinator:
"org.apache.druid.server.coordinator.DruidCoordinator"
Modules$OverrideModule:
"com.google.inject.util.Modules$OverrideModule"
QueryConfigProvider: "org.apache.druid.query.QueryConfigProvider"
QueryLifecycleFactory:
"org.apache.druid.server.QueryLifecycleFactory"
========================
End of classname legend:
========================
at
com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:589)
at
com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:163)
at
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
at com.google.inject.Guice.createInjector(Guice.java:87)
at com.google.inject.Guice.createInjector(Guice.java:69)
at com.google.inject.Guice.createInjector(Guice.java:59)
at
org.apache.druid.initialization.ExtensionInjectorBuilder.build(ExtensionInjectorBuilder.java:49)
at
org.apache.druid.initialization.ServerInjectorBuilder.build(ServerInjectorBuilder.java:118)
at
org.apache.druid.initialization.ServerInjectorBuilder.makeServerInjector(ServerInjectorBuilder.java:73)
at
org.apache.druid.cli.GuiceRunnable.makeInjector(GuiceRunnable.java:85)
... 2 more
```
#### Release note
<!-- Give your best effort to summarize your changes in a couple of
sentences aimed toward Druid users.
If your change doesn't have end user impact, you can skip this section.
For tips about how to write a good release note, see [Release
notes](https://github.com/apache/druid/blob/master/CONTRIBUTING.md#release-notes).
-->
Fix an issue where Coordinator cannot start when
`druid.centralizedDatasourceSchema.enabled=true`
<hr>
This PR has:
- [x] been self-reviewed.
- [x] been tested in a test Druid cluster.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]