<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: how to read data from oracle using FLUME to kafka broker in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-read-data-from-oracle-using-FLUME-to-kafka-broker/m-p/150242#M44518</link>
    <description>&lt;P&gt;Resolved finally.&lt;/P&gt;&lt;P&gt;Yes you are right.&lt;/P&gt;&lt;P&gt;my target is achived ODB-&amp;gt;FLUME-&amp;gt;KAFKA&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2016 16:48:48 GMT</pubDate>
    <dc:creator>mangeshberde478</dc:creator>
    <dc:date>2016-10-27T16:48:48Z</dc:date>
    <item>
      <title>how to read data from oracle using FLUME to kafka broker</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-read-data-from-oracle-using-FLUME-to-kafka-broker/m-p/150239#M44515</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I am trying to pull the data from oracle to kafka broker using flume. but its giving me error.&lt;/P&gt;&lt;P&gt;2016-10-26 13:52:27,447 (conf-file-poller-0) [ERROR - org.apache.flume.node.PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.run(PollingPropertiesFileConfigurationProvider.java:142)] Failed to load configuration data. Exception follows.
org.apache.flume.FlumeException: Unable to load source type: org.apache.flume.source.SQLSource, class: org.apache.flume.source.SQLSource&lt;/P&gt;&lt;P&gt;my flume.conf is &lt;/P&gt;&lt;P&gt;# Flume agent config &lt;/P&gt;&lt;P&gt;agent.channels = ch1&lt;/P&gt;&lt;P&gt;
agent.sinks = kafkaSink &lt;/P&gt;&lt;P&gt;agent.sources = sql-source &lt;/P&gt;&lt;P&gt;agent.channels.ch1.type = memory &lt;/P&gt;&lt;P&gt;agent.channels.ch1.capacity = 1000000 &lt;/P&gt;&lt;P&gt;agent.sources.sql-source.channels = ch1 &lt;/P&gt;&lt;P&gt;agent.sources.sql-source.type = org.keedio.flume.source.SQLSource
#org.apache.flume.source.SQLSource #org.keedio.flume.source.SQLSource &lt;/P&gt;&lt;P&gt;# URL to connect to database &lt;/P&gt;&lt;P&gt;agent.sources.sql-source.connection.url = jdbc:oracle:thin:@xx.xx.xx.xx:xxxx:xxxx &lt;/P&gt;&lt;P&gt;# Database connection properties &lt;/P&gt;&lt;P&gt;agent.sources.sql-source.user = user_name&lt;/P&gt;&lt;P&gt; agent.sources.sql-source.password = passwd&lt;/P&gt;&lt;P&gt; agent.sources.sql-source.table = tbl1 &lt;/P&gt;&lt;P&gt;agent.sources.sql-source.columns.to.select = * &lt;/P&gt;&lt;P&gt;# Increment column properties &lt;/P&gt;&lt;P&gt;agent.sources.sql-source.incremental.column.name = c1&lt;/P&gt;&lt;P&gt; # Increment value is from you want to start taking data from tables (0 will import entire table)&lt;/P&gt;&lt;P&gt;
agent.sources.sql-source.incremental.value =1 #0 &lt;/P&gt;&lt;P&gt;# Query delay, each configured milisecond the query will be sent &lt;/P&gt;&lt;P&gt;agent.sources.sql-source.run.query.delay=10000&lt;/P&gt;&lt;P&gt;
#Status file is used to save last readed row &lt;/P&gt;&lt;P&gt;agent.sources.sql-source.status.file.path = /var/lib/flume &lt;/P&gt;&lt;P&gt;agent.sources.sql-source.status.file.name = sql-source.status
agent.sinks.kafkaSink.type=org.apache.flume.sink.kafka.KafkaSink &lt;/P&gt;&lt;P&gt;agent.sinks.kafkaSink.brokerList=xx.xx.xx.xx:yyyy &lt;/P&gt;&lt;P&gt; agent.sinks.kafkaSink.topic=test &lt;/P&gt;&lt;P&gt;agent.sinks.kafkaSink.channel=ch1 &lt;/P&gt;&lt;P&gt;agent.sinks.kafkaSink.batchSize=10&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 15:30:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-read-data-from-oracle-using-FLUME-to-kafka-broker/m-p/150239#M44515</guid>
      <dc:creator>mangeshberde478</dc:creator>
      <dc:date>2016-10-26T15:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to read data from oracle using FLUME to kafka broker</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-read-data-from-oracle-using-FLUME-to-kafka-broker/m-p/150240#M44516</link>
      <description>&lt;P&gt;Never used it with Oracle as a source, but from the error I think the reason is that it is not locating the sql-source jar in the classpath. &lt;/P&gt;&lt;P&gt;Copy the flume-ng-sql-source-xxx.jar  to  /usr/hdp/current/flume-server/lib so it is included in the flume classpath (I have checked it is not included by default with HDP 2.4.2).&lt;/P&gt;&lt;P&gt;You will also need the connector for Oracle.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 00:53:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-read-data-from-oracle-using-FLUME-to-kafka-broker/m-p/150240#M44516</guid>
      <dc:creator>jlopez</dc:creator>
      <dc:date>2016-10-27T00:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to read data from oracle using FLUME to kafka broker</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-read-data-from-oracle-using-FLUME-to-kafka-broker/m-p/150241#M44517</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I have done this but still its giving me error .&lt;/P&gt;&lt;P&gt;2016-10-27 10:35:50,512 (conf-file-poller-0) [INFO - org.apache.flume.channel.DefaultChannelFactory.create(DefaultChannelFactory.java:40)] Creating instance of channel ch1 type memory
2016-10-27 10:35:50,517 (conf-file-poller-0) [INFO - org.apache.flume.node.AbstractConfigurationProvider.loadChannels(AbstractConfigurationProvider.java:205)] Created channel ch1
2016-10-27 10:35:50,518 (conf-file-poller-0) [INFO - org.apache.flume.source.DefaultSourceFactory.create(DefaultSourceFactory.java:39)] Creating instance of source sql-source, type org.apache.flume.source.SQLSource
2016-10-27 10:35:50,521 (conf-file-poller-0) [ERROR - org.apache.flume.node.PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.run(PollingPropertiesFileConfigurationProvider.java:142)] Failed to load configuration data. Exception follows.
org.apache.flume.FlumeException: Unable to load source type: org.apache.flume.source.SQLSource, class: org.apache.flume.source.SQLSource
        at org.apache.flume.source.DefaultSourceFactory.getClass(DefaultSourceFactory.java:67)
        at org.apache.flume.source.DefaultSourceFactory.create(DefaultSourceFactory.java:40)
        at org.apache.flume.node.AbstractConfigurationProvider.loadSources(AbstractConfigurationProvider.java:327)
        at org.apache.flume.node.AbstractConfigurationProvider.getConfiguration(AbstractConfigurationProvider.java:102)
        at org.apache.flume.node.PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.run(PollingPropertiesFileConfigurationProvider.java:140)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.flume.source.SQLSource
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:191)
        at org.apache.flume.source.DefaultSourceFactory.getClass(DefaultSourceFactory.java:65)&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 12:08:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-read-data-from-oracle-using-FLUME-to-kafka-broker/m-p/150241#M44517</guid>
      <dc:creator>mangeshberde478</dc:creator>
      <dc:date>2016-10-27T12:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to read data from oracle using FLUME to kafka broker</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-read-data-from-oracle-using-FLUME-to-kafka-broker/m-p/150242#M44518</link>
      <description>&lt;P&gt;Resolved finally.&lt;/P&gt;&lt;P&gt;Yes you are right.&lt;/P&gt;&lt;P&gt;my target is achived ODB-&amp;gt;FLUME-&amp;gt;KAFKA&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 16:48:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-read-data-from-oracle-using-FLUME-to-kafka-broker/m-p/150242#M44518</guid>
      <dc:creator>mangeshberde478</dc:creator>
      <dc:date>2016-10-27T16:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to read data from oracle using FLUME to kafka broker</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-read-data-from-oracle-using-FLUME-to-kafka-broker/m-p/150243#M44519</link>
      <description>&lt;P&gt;Hi Mangesh,&lt;/P&gt;&lt;P&gt;I want to achieve the same. Can you help me with the jar files and connector please?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mitesh&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 18:38:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-read-data-from-oracle-using-FLUME-to-kafka-broker/m-p/150243#M44519</guid>
      <dc:creator>galamitesh1005</dc:creator>
      <dc:date>2018-05-17T18:38:52Z</dc:date>
    </item>
  </channel>
</rss>

