error while trying to start the coordinator service

this is the error message I’m getting while running trying to start the coordinator service… can anyone tell me what the problem might be

I have used the command provided on the druid clustering documentation.

java `cat conf/druid/coordinator/jvm.config | xargs` -cp conf/druid/_common:conf/druid/coordinator:lib/* io.druid.cli.Main server coordinator

please check the attachment for the full logs.


  1. Error in custom provider, java.lang.NullPointerException

while locating io.druid.https.SSLContextProvider

while locating javax.net.ssl.SSLContext annotated with interface io.druid.guice.annotations.EscalatedClient

at io.druid.guice.http.HttpClientModule.configure(HttpClientModule.java:93) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> io.druid.guice.http.HttpClientModule)

at io.druid.guice.http.HttpClientModule.configure(HttpClientModule.java:93) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> io.druid.guice.http.HttpClientModule)

while locating io.druid.java.util.http.client.HttpClient annotated with @io.druid.guice.annotations.EscalatedClient()

for the 3rd parameter of io.druid.security.basic.authentication.db.cache.CoordinatorBasicAuthenticatorCacheNotifier.<init>(CoordinatorBasicAuthenticatorCacheNotifier.java:57)

at io.druid.security.basic.authentication.db.cache.CoordinatorBasicAuthenticatorCacheNotifier.class(CoordinatorBasicAuthenticatorCacheNotifier.java:46)

while locating io.druid.security.basic.authentication.db.cache.CoordinatorBasicAuthenticatorCacheNotifier

at io.druid.security.basic.BasicSecurityDruidModule.createAuthenticatorCacheNotifier(BasicSecurityDruidModule.java:112) (via modules: com.google.inject.util.Modules$OverrideModule -> io.druid.security.basic.BasicSecurityDruidModule)

at io.druid.security.basic.BasicSecurityDruidModule.createAuthenticatorCacheNotifier(BasicSecurityDruidModule.java:112) (via modules: com.google.inject.util.Modules$OverrideModule -> io.druid.security.basic.BasicSecurityDruidModule)

while locating io.druid.security.basic.authentication.db.cache.BasicAuthenticatorCacheNotifier

for the 6th parameter of io.druid.security.basic.authentication.db.updater.CoordinatorBasicAuthenticatorMetadataStorageUpdater.<init>(CoordinatorBasicAuthenticatorMetadataStorageUpdater.java:96)

at io.druid.security.basic.authentication.db.updater.CoordinatorBasicAuthenticatorMetadataStorageUpdater.class(CoordinatorBasicAuthenticatorMetadataStorageUpdater.java:64)

while locating io.druid.security.basic.authentication.db.updater.CoordinatorBasicAuthenticatorMetadataStorageUpdater

at io.druid.security.basic.BasicSecurityDruidModule.createAuthenticatorStorageUpdater(BasicSecurityDruidModule.java:82) (via modules: com.google.inject.util.Modules$OverrideModule -> io.druid.security.basic.BasicSecurityDruidModule)

at io.druid.security.basic.BasicSecurityDruidModule.createAuthenticatorStorageUpdater(BasicSecurityDruidModule.java:82) (via modules: com.google.inject.util.Modules$OverrideModule -> io.druid.security.basic.BasicSecurityDruidModule)

while locating io.druid.security.basic.authentication.db.updater.BasicAuthenticatorMetadataStorageUpdater

error.rtf (12 KB)

I think you might be helpful if you could share your coordinator config.

I was able to solve that issue but I have another problem while starting the overlord service

this is the exception I’m getting

I have also attached common.runtimne.properties and the runtime.properties (for coordinator)

[root@4d9bf0eb08f0 druid-0.12.1]# java cat conf/druid/overlord/jvm.config | xargs -cp conf/druid/_common:conf/druid/overlord:lib/* io.druid.cli.Main server overlord

2018-07-03T23:56:13,314 INFO [main] io.druid.guice.PropertiesModule - Loading properties from common.runtime.properties

2018-07-03T23:56:13,319 INFO [main] io.druid.guice.PropertiesModule - Loading properties from runtime.properties

2018-07-03T23:56:13,360 INFO [main] org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 5.1.3.Final

2018-07-03T23:56:13,896 INFO [main] io.druid.guice.JsonConfigurator - Loaded class[class io.druid.guice.ExtensionsConfig] from props[druid.extensions.] as [ExtensionsConfig{searchCurrentClassloader=true, directory=‘extensions’, hadoopDependenciesDir=‘hadoop-dependencies’, hadoopContainerDruidClasspath=‘null’, addExtensionsToHadoopContainer=false, loadList=[druid-kafka-eight, druid-s3-extensions, druid-#histogram, druid-datasketches, druid-lookups-cached-global]}]

Exception in thread “main” io.druid.java.util.common.ISE: Extension [/druid-0.12.1/extensions/druid-#histogram] specified in “druid.extensions.loadList” didn’t exist!?

at io.druid.initialization.Initialization.getExtensionFilesToLoad(Initialization.java:245)

at io.druid.initialization.Initialization$ServiceLoadingFromExtensions.addAllFromFileSystem(Initialization.java:176)

at io.druid.initialization.Initialization$ServiceLoadingFromExtensions.(Initialization.java:164)

at io.druid.initialization.Initialization$ServiceLoadingFromExtensions.(Initialization.java:150)

at io.druid.initialization.Initialization.getFromExtensions(Initialization.java:145)

at io.druid.cli.Main.main(Main.java:101)

common.runtime.properties (3.76 KB)

runtime.properties (178 Bytes)

It looks like you’ve got a # in the name of the histogram extension, druid-#histogram. I think that should just be druid-histogram

firstly, why don’t you use the druid node start scripts which in the druid project folder? secondly, your overlord issue caused by lacking of druid-#histogram extension, you need to download the jar extension or remove the extension in your common.runtime.properties. any details about extension, you can visit http://druid.io/docs/latest/operations/including-extensions.html, hope to help you.

Zachary Whitley zachary.whitley@gmail.com 于2018年7月4日周三 上午9:45写道:

Hi. How did you solve issue with Nullpointer as for SSLContextProvider??
thanks!