Errors one gets when trying to start a node are one clear

Hi,

Nope… I dont get how to start a node . e.g. the coordinator node. The docs are really not clear

Here is the jvm.config file:

-server

-Xms1g

-Xmx1g

-Duser.timezone=UTC

-Dfile.encoding=UTF-8

-Djava.io.tmpdir=var/tmp

-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager

-Dderby.stream.error.file=var/druid/derby.log

-Daws.region=us-east-1

Here is main.config file:

org.apache.druid.cli.Main server coordinator

All files are in /var/druid-<%=@version%>/conf/druid/coordinator

Here is how I start:

/var/druid-0.13.0/bin/run-druid coordinator

Here is my error…

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/var/druid-0.13.0/lib/guice-4.1.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte,int,int,java.security.ProtectionDomain)

WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

2019-03-04T13:17:13,466 INFO [main] org.apache.druid.guice.PropertiesModule - Loading properties from common.runtime.properties

2019-03-04T13:17:13,469 INFO [main] org.apache.druid.guice.PropertiesModule - Loading properties from runtime.properties

2019-03-04T13:17:13,525 INFO [main] org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 5.1.3.Final

Exception in thread “main” java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException

at java.base/java.lang.ClassLoader.defineClass1(Native Method)

at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1009)

at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)

at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:802)

at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:700)

at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:623)

at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)

at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)

at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)

at org.hibernate.validator.internal.engine.ConfigurationImpl.(ConfigurationImpl.java:110)

at org.hibernate.validator.internal.engine.ConfigurationImpl.(ConfigurationImpl.java:86)

at org.hibernate.validator.HibernateValidator.createGenericConfiguration(HibernateValidator.java:41)

at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:276)

at javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:110)

at org.apache.druid.guice.ConfigModule.configure(ConfigModule.java:39)

at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340)

at com.google.inject.spi.Elements.getElements(Elements.java:110)

at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138)

at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)

at com.google.inject.Guice.createInjector(Guice.java:99)

at com.google.inject.Guice.createInjector(Guice.java:73)

at org.apache.druid.guice.GuiceInjectors.makeStartupInjector(GuiceInjectors.java:55)

at org.apache.druid.cli.Main.main(Main.java:101)

Caused by: java.lang.ClassNotFoundException: javax.xml.bind.ValidationException

at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)

at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)

at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)

… 23 more

PS here is my runtime.properties file

druid.zk.service.host=127.0.0.1

druid.service=druid/coordinator

druid.plaintextPort=8081

druid.coordinator.startDelay=PT30S

druid.coordinator.period=PT30S

druid.extensions.loadList=[“mysql-metadata-storage”, “druid-s3-extensions”]

druid.metadata.storage.type=mysql

druid.metadata.storage.connector.connectURI=jdbc:mysql://<%=@mysql_host%>/druid

druid.metadata.storage.connector.user=<%=@mysql_username%>

druid.metadata.storage.connector.password=<%=@mysql_password%>

#http://druid.io/docs/latest/development/extensions-core/s3.html

druid.storage.type=s3

druid.s3.secretKey=<%=@AWS_SECRET_ACCESS_KEY%>

druid.s3.accessKey=<%=@AWS_ACCESS_KEY_ID%>

druid.storage.bucket=<%=@s3bucket%>

druid.storage.baseKey=<%=@s3basekey%>

Never mind I installed java 8 was using 11