[
https://issues.apache.org/jira/browse/GRIFFIN-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16559239#comment-16559239
]
Kevin Yao commented on GRIFFIN-179:
-----------------------------------
[~djkooks]
'Failed to get metric values named System. Connection refused' means your
elasticsearch configure is not right. ElasticSearch is used for storing
calculated dq data by Spark. You'd better know ablout [Griffin work
flow|https://cwiki.apache.org/confluence/display/GRIFFIN/0.+Griffin+Workflow].
You can try Griffin in docker following the [docker
guide|https://github.com/apache/incubator-griffin/blob/master/griffin-doc/docker/griffin-docker-guide.md].
If you have any problems with docker , please leave a message here.
Thanks
> Deploy questions
> ----------------
>
> Key: GRIFFIN-179
> URL: https://issues.apache.org/jira/browse/GRIFFIN-179
> Project: Griffin (Incubating)
> Issue Type: Test
> Affects Versions: 0.2.0-incubating
> Reporter: Kwang-in (Dennis) JUNG
> Priority: Minor
>
> Hello,
> I'm starter of this project, and have some question of setting up.
> This is my application.properties...
> ```
> spring.datasource.url =
> jdbc:mysql://localhost:3306/quartz?autoReconnect=true&useSSL=false
> spring.datasource.username = griffin
> spring.datasource.password = 123456
> spring.jpa.generate-ddl=true
> spring.datasource.driver-class-name = com.mysql.jdbc.Driver
> ...
> ```
> ...and it shows problem...
>
> ```
> ...
> 2018-07-13 14:33:52.190 ERROR 6603 --- [ main] o.s.b.SpringApplication :
> Application startup failed
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'eclipseLinkJpaConfig' defined in URL
> [jar:file:/Users/jung/workspace/etc/incubator-griffin/service/target/service-0.2.0-incubating-SNAPSHOT.jar!/BOOT-INF/classes!/org/apache/griffin/core/config/EclipseLinkJpaConfig.class]:
> Unsatisfied dependency expressed through constructor parameter 0; nested
> exception is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'dataSource' defined in class path resource
> [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Tomcat.class]:
> Bean instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [org.apache.tomcat.jdbc.pool.DataSource]: Factory method 'dataSource' threw
> exception; nested exception is java.lang.IllegalStateException: Cannot load
> driver class: com.mysql.jdbc.Driver
> at
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
> ~[spring-beans-4.3.6.RELEASE.jar!/:4.3.6.RELEASE]
> at
> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
> ~[spring-beans-4.3.6.RELEASE.jar!/:4.3.6.RELEASE]
> ...
> ```
>
> As you see, I'm trying to work on with mysql.
> Could you give me some help?
>
> Thanks.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)