Sorry for the mistake, please change to "org.apache.eagle.metadata.store.jdbc.JDBCMetadataStore"

________________________________
From: Yuan George <[EMAIL PROTECTED]>
Sent: Tuesday, December 19, 2017 8:47:14 PM
To: Chen, Hao; 绿飕飕
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: 答复: 请教关于 eagle v0.5.0 的问题
你好,我配置了mysql如下,

# Eagle Metadata Store Configuration
# ---------------------------------------------
metadata {
  store = org.apache.eagle.metadata.service.jdbc.JDBCMetadataStore
  #store = org.apache.eagle.metadata.service.memory.MemoryMetadataStore
  jdbc {
    username = "hive"
    password = "test"
    driverClassName = com.mysql.jdbc.Driver
    database = "eagle"
    connection = "jdbc:mysql://10.25.20.35:3306/eagle"
  }
}

但启动时报错,

ERROR [2017-12-19 20:39:50,448] org.apache.eagle.metadata.persistence.MetadataStore: Failed to instantiate org.apache.eagle.metadata.service.jdbc.JDBCMetadataStore
! java.lang.ClassNotFoundException: org.apache.eagle.metadata.service.jdbc.JDBCMetadataStore
! at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_40]
! at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_40]
! at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[na:1.8.0_40]
! at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_40]
! at java.lang.Class.forName0(Native Method) ~[na:1.8.0_40]
! at java.lang.Class.forName(Class.java:264) ~[na:1.8.0_40]
! at org.apache.eagle.metadata.persistence.MetadataStoreModuleFactory.getModule(MetadataStoreModuleFactory.java:43) ~[eagle-topology-0.5.0-assembly.jar:na]
! at org.apache.eagle.server.module.ServerModule.configure(ServerModule.java:36) [eagle-topology-0.5.0-assembly.jar:na]
! at com.google.inject.AbstractModule.configure(AbstractModule.java:59) [eagle-topology-0.5.0-assembly.jar:na]
! at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223) [eagle-topology-0.5.0-assembly.jar:na]
! at com.google.inject.spi.Elements.getElements(Elements.java:101) [eagle-topology-0.5.0-assembly.jar:na]
! at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133) [eagle-topology-0.5.0-assembly.jar:na]
! at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103) [eagle-topology-0.5.0-assembly.jar:na]
! at com.google.inject.Guice.createInjector(Guice.java:95) [eagle-topology-0.5.0-assembly.jar:na]
! at com.google.inject.Guice.createInjector(Guice.java:72) [eagle-topology-0.5.0-assembly.jar:na]
! at com.google.inject.Guice.createInjector(Guice.java:62) [eagle-topology-0.5.0-assembly.jar:na]
! at org.apache.eagle.app.module.ApplicationExtensionLoader.load(ApplicationExtensionLoader.java:33) [eagle-topology-0.5.0-assembly.jar:na]
! at org.apache.eagle.server.module.GuiceBundleLoader.load(GuiceBundleLoader.java:52) [eagle-topology-0.5.0-assembly.jar:na]
! at org.apache.eagle.server.module.GuiceBundleLoader.load(GuiceBundleLoader.java:82) [eagle-topology-0.5.0-assembly.jar:na]
! at org.apache.eagle.server.ServerApplication.initialize(ServerApplication.java:69) [eagle-topology-0.5.0-assembly.jar:na]
! at io.dropwizard.Application.run(Application.java:70) [dropwizard-core-0.7.1.jar:0.7.1]
! at org.apache.eagle.server.ServerMain.main(ServerMain.java:44) [eagle-topology-0.5.0-assembly.jar:na]
Exception in thread "main" com.google.inject.internal.util.$ComputationException: java.lang.ArrayIndexOutOfBoundsException: 22333
        at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:553)
        at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:419)
        at com.google.inject.internal.util.$CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2041)
        at com.google.inject.internal.util.$StackTraceElements.forMember(StackTraceElements.java:53)
        at com.google.inject.internal.Errors.formatInjectionPoint(Errors.java:716)
        at com.google.inject.internal.Errors.formatSource(Errors.java:678)
        at com.google.inject.internal.Errors.format(Errors.java:555)
        at com.google.inject.CreationException.getMessage(CreationException.java:48)
        at org.apache.eagle.server.ServerMain.main(ServerMain.java:46)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 22333
        at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
        at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
        at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
        at com.google.inject.internal.util.$LineNumbers.<init>(LineNumbers.java:62)
        at com.google.inject.internal.util.$StackTraceElements$1.apply(StackTraceElements.java:36)
        at com.google.inject.internal.util.$StackTraceElements$1.apply(StackTraceElements.java:33)
        at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:549)

你能帮我看看什么地方错了吗?
谢谢。

________________________________
发件人: Chen, Hao <[EMAIL PROTECTED]>
发送时间: 2017年12月6日 11:01
收件人: Yuan George; 绿飕飕
抄送: [EMAIL PROTECTED]; [EMAIL PROTECTED]
主题: RE: 请教关于 eagle v0.5.0 的问题
你们好  :)

1.      关于配置

请把https://github.com/apache/eagle/blob/master/eagle-assembly/src/main/conf/eagle.conf#L77<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Feagle%2Fblob%2Fmaster%2Feagle-assembly%2Fsrc%2Fmain%2Fconf%2Feagle.conf%23L77&data=02%7C01%7CHao.Chen3%40ebay.com%7C3e08061616f0438edaac08d546debe39%7C46326bff992841a0baca17c16c94ea99%7C0%7C0%7C636492844853591203&sdata=Z68d2Nn3A0ZuY4Wb5mT1rv8t%2BvHiHTGZ%2Fx10GWN%2B2TE%3D&reserved=0>

[https://avatars3.githubusercontent.com/u/47359?s=400&v=4]<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Feagle%2Fblob%2Fmaster%2Feagle-assembly%2Fsrc%2Fmain%2Fconf%2Feagle.conf%23L77&data=02%7C01%7CHao.Chen3%40ebay.com%7C3e08061616f0438edaac08d546debe39%7C46326bff992841a0baca17c16c94ea99%7C0%7C0%7C636492844853591203&sdata=Z68d2Nn3A0Zu