Git Product home page Git Product logo

kafka-hdfs-source-connector's People

Contributors

jpbirdy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

kafka-hdfs-source-connector's Issues

Connector not pushing data to Kafka

name=test-hdfs
connector.class=hdfs.HDFSSourceConnector
hadoop.conf.dir=/etc/hadoop/conf
hadoop.home=
hdfs.url=hdfs://nameservice1
hdfs.authentication.kerberos=true
connect.hdfs.principal=principal
connect.hdfs.keytab=keytab
hdfs.namenode.principal=principal
kerberos.ticket.renew.period.ms=3600000
file=
file.path=/user/directorypath
topic.prefix=test-hdfs-source

i am using the above config to connect hdfs and push data from directory to kafka

from the logs i could see the connection has been established with hadoop as below

[2018-08-01 08:47:56,013] INFO Created connector test-hdfs (org.apache.kafka.connect.cli.ConnectStandalone:99)
[2018-08-01 08:47:56,013] INFO Hadoop configuration directory /etc/hadoop/conf (hdfs.HDFSSourceTask:79)
[2018-08-01 08:47:56,272] INFO Hadoop namenode principal: hdfs/[email protected] (hdfs.HDFSSourceTask:299)
[2018-08-01 08:47:56,273] INFO Hadoop namenode principal: hdfs/[email protected] (hdfs.HDFSSourceTask:299)
[2018-08-01 08:47:56,609] INFO Login successful for user principal using keytab file principal.keytab (org.apache.hadoop.security.UserGroupInformation:966)
[2018-08-01 08:47:56,655] INFO Login successful for user principalusing keytab file principal.keytab (org.apache.hadoop.security.UserGroupInformation:966)
[2018-08-01 08:47:56,656] INFO Login as: principal (hdfs.HDFSSourceTask:304)
[2018-08-01 08:47:56,656] INFO Login as: principal (hdfs.HDFSSourceTask:304)
[2018-08-01 08:47:56,657] INFO Starting the Kerberos ticket renew thread with period 3600000ms. (hdfs.HDFSSourceTask:334)
[2018-08-01 08:47:56,657] INFO Starting the Kerberos ticket renew thread with period 3600000ms. (hdfs.HDFSSourceTask:334)

also i can see offset loading information as below

[2018-08-01 08:47:58,043] INFO loading offset /user/directory/e24f6ce5225ebcd6-31762fb100000004_2144770316_data.0. (hdfs.HDFSSourceTask:258)
[2018-08-01 08:47:58,073] INFO loading offset /user/directory/e24f6ce5225ebcd6-31762fb100000004_1165567777_data.0. (hdfs.HDFSSourceTask:258)

but i when i run console consumer for the topic i could hardly receive any message.

can you please help me solving this?

Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.