You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/05/09 12:30:26 UTC

[GitHub] [incubator-druid] DockerLive opened a new issue #7623: How to Enable HistoricalMetricsMonitor、QueryCountStatsMonitor metric for Historical 、Middle Manager ;Because I started both Historical and Middle Manager processes on the same node

DockerLive opened a new issue #7623: How to Enable HistoricalMetricsMonitor、QueryCountStatsMonitor metric for Historical 、Middle Manager ;Because I started both Historical and Middle Manager processes on the same node
URL: https://github.com/apache/incubator-druid/issues/7623
 
 
   When I configured the monitors for the following:
   druid.monitoring.monitors=["org.apache.druid.server.metrics.HistoricalMetricsMonitor",
   "org.apache.druid.server.metrics.QueryCountStatsMonitor",
   "org.apache.druid.server.metrics.EventReceiverFirehoseMonitor"]
   
   The process could not start. The exception is shown below:
   Exception in thread "main" com.google.inject.CreationException: Guice creation errors:
   1) No implementation for io.druid.client.cache.Cache was bound.
     while locating io.druid.client.cache.Cache
       for parameter 6 at io.druid.server.coordination.ServerManager.<init>(ServerManager.java:106)
     while locating io.druid.server.coordination.ServerManager
       for parameter 1 at io.druid.server.metrics.HistoricalMetricsMonitor.<init>(HistoricalMetricsMonitor.java:42)
     while locating io.druid.server.metrics.HistoricalMetricsMonitor
     at io.druid.server.metrics.MetricsModule.getMonitorScheduler(MetricsModule.java:90)
     at io.druid.server.metrics.MetricsModule.getMonitorScheduler(MetricsModule.java:90)
     while locating com.metamx.metrics.MonitorScheduler
     at io.druid.server.metrics.MetricsModule.configure(MetricsModule.java:75)
     while locating com.metamx.metrics.MonitorScheduler annotated with @com.google.inject.name.Named(value=ForTheEagerness)
   
   1 error
           at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:448)
           at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:184)
           at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
           at com.google.inject.Guice.createInjector(Guice.java:96)
           at com.google.inject.Guice.createInjector(Guice.java:73)
           at com.google.inject.Guice.createInjector(Guice.java:62)
           at io.druid.initialization.Initialization.makeInjectorWithModules(Initialization.java:324)
           at io.druid.cli.GuiceRunnable.makeInjector(GuiceRunnable.java:60)
           at io.druid.cli.ServerRunnable.run(ServerRunnable.java:39)
           at io.druid.cli.Main.main(Main.java:105)
   
   
   
   Exception in thread "main" com.google.inject.CreationException: Unable to create injector, see the following errors:
   
   1) No implementation for org.apache.druid.server.metrics.QueryCountStatsProvider was bound.
     while locating org.apache.druid.server.metrics.QueryCountStatsProvider
       for the 1st parameter of org.apache.druid.server.metrics.QueryCountStatsMonitor.<init>(QueryCountStatsMonitor.java:40)
     while locating org.apache.druid.server.metrics.QueryCountStatsMonitor
     at org.apache.druid.server.metrics.MetricsModule.getMonitorScheduler(MetricsModule.java:92) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.server.metrics.MetricsModule)
     at org.apache.druid.server.metrics.MetricsModule.getMonitorScheduler(MetricsModule.java:92) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.server.metrics.MetricsModule)
     while locating org.apache.druid.java.util.metrics.MonitorScheduler
     at org.apache.druid.server.metrics.MetricsModule.configure(MetricsModule.java:77) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.server.metrics.MetricsModule)
     while locating org.apache.druid.java.util.metrics.MonitorScheduler annotated with @com.google.inject.name.Named(value=ForTheEagerness)
   
   1 error
           at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:470)
           at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:184)
           at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
           at com.google.inject.Guice.createInjector(Guice.java:99)
           at com.google.inject.Guice.createInjector(Guice.java:73)
           at com.google.inject.Guice.createInjector(Guice.java:62)
           at org.apache.druid.initialization.Initialization.makeInjectorWithModules(Initialization.java:422)
           at org.apache.druid.cli.GuiceRunnable.makeInjector(GuiceRunnable.java:69)
           at org.apache.druid.cli.ServerRunnable.run(ServerRunnable.java:57)
           at org.apache.druid.cli.Main.main(Main.java:118)
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org