[
https://issues.apache.org/jira/browse/GRIFFIN-338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167430#comment-17167430
]
Chitral Verma edited comment on GRIFFIN-338 at 7/29/20, 6:20 PM:
-----------------------------------------------------------------
Okay, I understand what's happening.
You're trying to use Griffin along with the frontend and its services. Griffin
was stable a little beyond 0.5.0 release and did not contain implementation for
JDBC that you see in the master branch.The latest version in master branch
however is not yet supported by the services and thus the front end, so I don't
think you will be able to use Master branch for your POC.
Currently, Griffin is in the midst of a complete revamp and I'm doing most of
the heavy lifting regarding this. My suggestion would be to use the code from
an earlier commit, like below, compile it manually and then try using it.
[https://github.com/apache/griffin/tree/48f304dc316ed380fef2c5c7891f7ec41e0ddd30/]
was (Author: chitralverma):
Okay, I understand what's happening.
You're trying to use Griffin along with the frontend and its services. Griffin
was stable a little beyond 0.5.0 release and did not contain implementation for
JDBC that you see in the master branch. Currently, Griffin is in the midst of a
complete revamp and I'm doing most of the heavy lifting regarding this.
My suggestion would be to use the code from an earlier commit, like below,
compile it manually and then try using it.
https://github.com/apache/griffin/tree/48f304dc316ed380fef2c5c7891f7ec41e0ddd30/
> 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)