surekhasaharan commented on issue #8563: Coordinator in HA causing UI errors URL: https://github.com/apache/incubator-druid/issues/8563#issuecomment-534778140 hey @gocho1 looking at your coordinator logs, it seems it's missing the mysql driver jar ``` Caused by: java.lang.NoClassDefFoundError: com/mysql/jdbc/exceptions/MySQLTransientException at org.apache.druid.metadata.storage.mysql.MySQLConnector.connectorIsTransientException(MySQLConnector.java:202) ~[?:?] at org.apache.druid.metadata.SQLMetadataConnector.isTransientException(SQLMetadataConnector.java:164) ~[druid-server-0.15.1-incubating.jar:0.15.1-incubating] at org.apache.druid.metadata.SQLMetadataConnector$1.apply(SQLMetadataConnector.java:77) ~[druid-server-0.15.1-incubating.jar:0.15.1-incubating] at org.apache.druid.metadata.SQLMetadataConnector$1.apply(SQLMetadataConnector.java:73) ~[druid-server-0.15.1-incubating.jar:0.15.1-incubating] ``` Note that Druid distribution does not bundle the mysql driver and you have to download and copy that yourself, check https://druid.apache.org/docs/latest/development/extensions-core/mysql.html Later in the logs, it tries to load Derby ``` null returned by binding at org.apache.druid.guice.PolyBind.createChoiceWithDefault(PolyBind.java:109) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.metadata.storage.derby.DerbyMetadataStorageDruidModule) but the 2nd parameter of org.apache.druid.server.http.MetadataResource.<init>(MetadataResource.java:78) is not @Nullable while locating org.apache.druid.indexing.overlord.IndexerMetadataStorageCoordinator ``` Something might be off in the configs, please checkout your `common.runtime.properties` and make sure it uses either mysql or derby for metadata storage and both are not present. If it works with one coordinator, it's also possible that one of your coordinator configs is messed up.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
