Hey Sahil,
Thanks a lot! That issue got resolved.I'm using
http://github.com/linkedin/gobblin..Since this my first attempt,I couldnt find out what is missing.I'm getting some errors.
mysql.properties
# Source properties - source class to extract data from Mysql Source
source.class=gobblin.source.extractor.extract.jdbc.MysqlSource
# Source properties
source.max.number.of.partitions=1
source.querybased.partition.interval=1
source.querybased.is.compression=true
source.querybased.watermark.type=timestamp
# Source connection properties
source.conn.driver=com.mysql.jdbc.Driver
source.conn.username=root
source.conn.password=701569
source.conn.host=localhost
source.conn.port=3306
source.conn.timeout=10
# Converter properties - Record from mysql source will be processed by the below series of converters
converter.classes=gobblin.converter.avro.JsonIntermediateToAvroConverter
# date columns format
converter.avro.timestamp.format=yyyy-MM-dd HH:mm:ss'.0'
converter.avro.date.format=yyyy-MM-dd
converter.avro.time.format=HH:mm:ss
# Qualitychecker properties
qualitychecker.task.policies=gobblin.policies.count.RowCountPolicy,gobblin.policies.schema.SchemaCompatibilityPolicy
qualitychecker.task.policy.types=OPTIONAL,OPTIONAL
# Publisher properties
data.publisher.type=gobblin.publisher.BaseDataPublisher
table_full.pull
# Job properties
job.name=GobblinMySql
job.group=MySql
job.description=Data pull from MySql
# Extract properties
extract.namespace=gobblin.source.extractor.extract.jdbc.MysqlExtractor
extract.table.type=snapshot_append
extract.delta.fields=<delta fields>
extract.primary.key.fields=<primary key columns>
# Property to consider the extract as full dump
extract.is.full=true
# Source properties
source.querybased.schema=students
source.entity=Students
source.querybased.extract.type=snapshot
Errors :
org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
2015-10-13 11:13:06 IST ERROR [TaskExecutor-0] gobblin.source.extractor.extract.jdbc.MysqlSource [students_Students_1444714984612_0] 42 - Failed to prepare extractor: error - Failed to get schema for this object; error - Failed to get metadata using JDBC; error - Failed to get schema from Mysql; error - null
2015-10-13 11:13:06 IST ERROR [TaskExecutor-0] gobblin.source.extractor.extract.jdbc.JdbcExtractor [students_Students_1444714984612_0] 694 - Failed to execute sql:select col.column_name, col.data_type, case when CHARACTER_OCTET_LENGTH is null then 0 else 0 end as length, case when NUMERIC_PRECISION is null then 0 else NUMERIC_PRECISION end as precesion, case when NUMERIC_SCALE is null then 0 else NUMERIC_SCALE end as scale, case when is_nullable='NO' then 'false' else 'true' end as nullable, '' as format, case when col.column_comment is null then '' else col.column_comment end as comment from information_schema.COLUMNS col WHERE upper(col.table_name)=upper(?) AND upper(col.table_schema)=upper(?) order by col.ORDINAL_POSITION