[ 
https://issues.apache.org/jira/browse/GRIFFIN-338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167443#comment-17167443
 ] 

ishan verma commented on GRIFFIN-338:
-------------------------------------

Thanks [~chitralverma] . So what i understood is currently i am using griffin 
0.5 and the link you have provided is for the docker image 0.2(i have updated 
to 0.5 now) if i am not wrong. 

-So should i revert back to 0.2 ?

-or should i use the class given for mysqldataconnector in your provided link 
and give it a try using type=CUSTOM ?

[https://github.com/apache/griffin/blob/48f304dc316ed380fef2c5c7891f7ec41e0ddd30/measure/src/main/scala/org/apache/griffin/measure/datasource/connector/batch/MySqlDataConnector.scala]

> Custom Connector for mysql not working
> --------------------------------------
>
>                 Key: GRIFFIN-338
>                 URL: https://issues.apache.org/jira/browse/GRIFFIN-338
>             Project: Griffin
>          Issue Type: Bug
>         Environment: griffin version= 0.5, mysql on EC2 instance  using 
> griffin docker image
>            Reporter: ishan verma
>            Priority: Critical
>         Attachments: image-2020-07-29-20-23-40-838.png
>
>
> Hi Team,
> I am currently working on data quality POC using griffin.
> So far till now everything is working fine using HIVE  as a data source, but 
> there is new requirement to add mysql as source.
>  
> I have tried every possible way to have *mysql* as custom data connector but 
> its not working. Measure is getting created and job is going to successful 
> but griffin showing *NO CONTENT* on ui . below is my code for that:-
> "data.sources": [
>     {
>       "name": "source",
>       "connectors": [
>         {
>         "name": "source1595488803031",  
>         "type": "CUSTOM",
>         "data.unit": "1day",
>         "data.time.zone": "",
>         "config": {
>           "class": 
> "org.apache.griffin.measure.datasource.connector.batch.MySqlDataConnector",
>           "database": "griffin_poc",
>           "tablename": "person_src",
>           "url": "jdbc:mysql://griffin:3306/griffin_poc",
>           "user": "test_u",
>           "password": "test_p",
>           "driver": "com.mysql.jdbc.Driver"
>         }
>         }
> can anyone please provide some valuable suggestions on this , how to use 
> mysql as my datasource as it is very critical for my POC. Its an urgent issue.
> Anything i am missing  here to link with  mysql, please guide me through this.
>  
> Also i have setup mysql on ec2 instance using griffin docker image.
>  
>  
> Any leads will be appreciated.
> Thanks:)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to