<?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 Error fetching twiiter data while using flume in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-fetching-twiiter-data-while-using-flume/m-p/315704#M226545</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am getting these errors while using flume command for fetching twitter data.&lt;/P&gt;&lt;P&gt;hp@hp-HP-EliteBook-8440p:~/apache-flume-1.9.0-bin$ bin/flume-ng agent --conf ./conf/ -f conf/twitter.conf Dflume.root.logger=DEBUG,console -n TwitterAgent&lt;BR /&gt;Info: Sourcing environment configuration script /home/hp/apache-flume-1.9.0-bin/conf/flume-env.sh&lt;BR /&gt;Info: Including Hadoop libraries found via (/home/hadoop/hadoop-3.1.4/bin/hadoop) for HDFS access&lt;BR /&gt;WARNING: HADOOP_PREFIX has been replaced by HADOOP_HOME. Using value of HADOOP_PREFIX.&lt;BR /&gt;/home/hadoop/hadoop-3.1.4/libexec/hadoop-functions.sh: line 2360: HADOOP_ORG.APACHE.FLUME.TOOLS.GETJAVAPROPERTY_USER: invalid variable name&lt;BR /&gt;/home/hadoop/hadoop-3.1.4/libexec/hadoop-functions.sh: line 2455: HADOOP_ORG.APACHE.FLUME.TOOLS.GETJAVAPROPERTY_OPTS: invalid variable name&lt;BR /&gt;WARNING: HADOOP_PREFIX has been replaced by HADOOP_HOME. Using value of HADOOP_PREFIX.&lt;BR /&gt;Info: Including Hive libraries found via () for Hive access&lt;BR /&gt;+ exec /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Xmx20m -cp '/home/hp/apache-flume-1.9.0-bin/conf:/home/hp/apache-flume-1.9.0-bin/lib/*:/home/hadoop/hadoop-3.1.4/etc/hadoop:/home/hadoop/hadoop-3.1.4/share/hadoop/common/lib/*:/home/hadoop/hadoop-3.1.4/share/hadoop/common/*:/home/hadoop/hadoop-3.1.4/share/hadoop/hdfs:/home/hadoop/hadoop-3.1.4/share/hadoop/hdfs/lib/*:/home/hadoop/hadoop-3.1.4/share/hadoop/hdfs/*:/home/hadoop/hadoop-3.1.4/share/hadoop/mapreduce/lib/*:/home/hadoop/hadoop-3.1.4/share/hadoop/mapreduce/*:/home/hadoop/hadoop-3.1.4/share/hadoop/yarn:/home/hadoop/hadoop-3.1.4/share/hadoop/yarn/lib/*:/home/hadoop/hadoop-3.1.4/share/hadoop/yarn/*:/lib/*' -Djava.library.path=:/home/hadoop/hadoop-3.1.4/lib/native org.apache.flume.node.Application -f conf/twitter.conf Dflume.root.logger=DEBUG,console -n TwitterAgent&lt;BR /&gt;SLF4J: Class path contains multiple SLF4J bindings.&lt;BR /&gt;SLF4J: Found binding in [jar:file:/home/hp/apache-flume-1.9.0-bin/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: Found binding in [jar:file:/home/hadoop/hadoop-3.1.4/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.&lt;BR /&gt;SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]&lt;BR /&gt;2021-05-01 22:10:45,789 (main) [DEBUG - org.apache.flume.util.SSLUtil.initSysPropFromEnvVar(SSLUtil.java:95)] No global SSL keystore path specified.&lt;BR /&gt;2021-05-01 22:10:45,794 (main) [DEBUG - org.apache.flume.util.SSLUtil.initSysPropFromEnvVar(SSLUtil.java:95)] No global SSL keystore password specified.&lt;BR /&gt;2021-05-01 22:10:45,794 (main) [DEBUG - org.apache.flume.util.SSLUtil.initSysPropFromEnvVar(SSLUtil.java:95)] No global SSL keystore type specified.&lt;BR /&gt;2021-05-01 22:10:45,795 (main) [DEBUG - org.apache.flume.util.SSLUtil.initSysPropFromEnvVar(SSLUtil.java:95)] No global SSL truststore path specified.&lt;BR /&gt;2021-05-01 22:10:45,798 (main) [DEBUG - org.apache.flume.util.SSLUtil.initSysPropFromEnvVar(SSLUtil.java:95)] No global SSL truststore password specified.&lt;BR /&gt;2021-05-01 22:10:45,799 (main) [DEBUG - org.apache.flume.util.SSLUtil.initSysPropFromEnvVar(SSLUtil.java:95)] No global SSL truststore type specified.&lt;BR /&gt;2021-05-01 22:10:45,799 (main) [DEBUG - org.apache.flume.util.SSLUtil.initSysPropFromEnvVar(SSLUtil.java:95)] No global SSL include protocols specified.&lt;BR /&gt;2021-05-01 22:10:45,799 (main) [DEBUG - org.apache.flume.util.SSLUtil.initSysPropFromEnvVar(SSLUtil.java:95)] No global SSL exclude protocols specified.&lt;BR /&gt;2021-05-01 22:10:45,799 (main) [DEBUG - org.apache.flume.util.SSLUtil.initSysPropFromEnvVar(SSLUtil.java:95)] No global SSL include cipher suites specified.&lt;BR /&gt;2021-05-01 22:10:45,799 (main) [DEBUG - org.apache.flume.util.SSLUtil.initSysPropFromEnvVar(SSLUtil.java:95)] No global SSL exclude cipher suites specified.&lt;BR /&gt;2021-05-01 22:10:46,828 (lifecycleSupervisor-1-0) [INFO - org.apache.flume.node.PollingPropertiesFileConfigurationProvider.start(PollingPropertiesFileConfigurationProvider.java:62)] Configuration provider starting&lt;BR /&gt;2021-05-01 22:10:46,829 (lifecycleSupervisor-1-0) [DEBUG - org.apache.flume.node.PollingPropertiesFileConfigurationProvider.start(PollingPropertiesFileConfigurationProvider.java:79)] Configuration provider started&lt;BR /&gt;2021-05-01 22:10:46,831 (conf-file-poller-0) [DEBUG - org.apache.flume.node.PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.run(PollingPropertiesFileConfigurationProvider.java:131)] Checking file:conf/twitter.conf for changes&lt;BR /&gt;2021-05-01 22:10:46,832 (conf-file-poller-0) [INFO - org.apache.flume.node.PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.run(PollingPropertiesFileConfigurationProvider.java:138)] Reloading configuration file:conf/twitter.conf&lt;BR /&gt;2021-05-01 22:10:46,858 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:MemChannel&lt;BR /&gt;2021-05-01 22:10:46,859 (conf-file-poller-0) [DEBUG - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1207)] Created context for MemChannel: capacity&lt;BR /&gt;2021-05-01 22:10:46,863 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:Twitter&lt;BR /&gt;2021-05-01 22:10:46,863 (conf-file-poller-0) [DEBUG - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1207)] Created context for Twitter: accessToken&lt;BR /&gt;2021-05-01 22:10:46,863 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:Twitter&lt;BR /&gt;2021-05-01 22:10:46,864 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:HDFS&lt;BR /&gt;2021-05-01 22:10:46,864 (conf-file-poller-0) [DEBUG - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1207)] Created context for HDFS: hdfs.rollCount&lt;BR /&gt;2021-05-01 22:10:46,864 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:HDFS&lt;BR /&gt;2021-05-01 22:10:46,864 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:MemChannel&lt;BR /&gt;2021-05-01 22:10:46,864 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:HDFS&lt;BR /&gt;2021-05-01 22:10:46,865 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:HDFS&lt;BR /&gt;2021-05-01 22:10:46,865 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:MemChannel&lt;BR /&gt;2021-05-01 22:10:46,865 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:HDFS&lt;BR /&gt;2021-05-01 22:10:46,865 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addProperty(FlumeConfiguration.java:1117)] Added sinks: HDFS Agent: TwitterAgent&lt;BR /&gt;2021-05-01 22:10:46,865 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:Twitter&lt;BR /&gt;2021-05-01 22:10:46,865 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:Twitter&lt;BR /&gt;2021-05-01 22:10:46,866 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:HDFS&lt;BR /&gt;2021-05-01 22:10:46,866 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:HDFS&lt;BR /&gt;2021-05-01 22:10:46,866 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:Twitter&lt;BR /&gt;2021-05-01 22:10:46,866 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:Twitter&lt;BR /&gt;2021-05-01 22:10:46,866 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:Twitter&lt;BR /&gt;2021-05-01 22:10:46,867 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addComponentConfig(FlumeConfiguration.java:1203)] Processing:HDFS&lt;BR /&gt;2021-05-01 22:10:46,867 (conf-file-poller-0) [DEBUG - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.isValid(FlumeConfiguration.java:350)] Starting validation of configuration for agent: TwitterAgent&lt;BR /&gt;2021-05-01 22:10:46,868 (conf-file-poller-0) [INFO - org.apache.flume.conf.LogPrivacyUtil.&amp;lt;clinit&amp;gt;(LogPrivacyUtil.java:51)] Logging of configuration details is disabled. To see configuration details in the log run the agent with -Dorg.apache.flume.log.printconfig=true JVM argument. Please note that this is not recommended in production systems as it may leak private information to the logfile.&lt;BR /&gt;2021-05-01 22:10:46,868 (conf-file-poller-0) [WARN - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.validateConfigFilterSet(FlumeConfiguration.java:623)] Agent configuration for 'TwitterAgent' has no configfilters.&lt;BR /&gt;2021-05-01 22:10:46,897 (conf-file-poller-0) [DEBUG - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.validateChannels(FlumeConfiguration.java:583)] Created channel MemChannel&lt;BR /&gt;2021-05-01 22:10:46,905 (conf-file-poller-0) [DEBUG - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.validateSinks(FlumeConfiguration.java:861)] Creating sink: HDFS using HDFS&lt;BR /&gt;2021-05-01 22:10:46,908 (conf-file-poller-0) [DEBUG - org.apache.flume.conf.FlumeConfiguration.validateConfiguration(FlumeConfiguration.java:158)] Channels:MemChannel&lt;/P&gt;&lt;P&gt;2021-05-01 22:10:46,908 (conf-file-poller-0) [DEBUG - org.apache.flume.conf.FlumeConfiguration.validateConfiguration(FlumeConfiguration.java:159)] Sinks HDFS&lt;/P&gt;&lt;P&gt;2021-05-01 22:10:46,908 (conf-file-poller-0) [DEBUG - org.apache.flume.conf.FlumeConfiguration.validateConfiguration(FlumeConfiguration.java:160)] Sources Twitter&lt;/P&gt;&lt;P&gt;2021-05-01 22:10:46,908 (conf-file-poller-0) [INFO - org.apache.flume.conf.FlumeConfiguration.validateConfiguration(FlumeConfiguration.java:163)] Post-validation flume configuration contains configuration for agents: [TwitterAgent]&lt;BR /&gt;2021-05-01 22:10:46,908 (conf-file-poller-0) [INFO - org.apache.flume.node.AbstractConfigurationProvider.loadChannels(AbstractConfigurationProvider.java:151)] Creating channels&lt;BR /&gt;2021-05-01 22:10:46,930 (conf-file-poller-0) [INFO - org.apache.flume.channel.DefaultChannelFactory.create(DefaultChannelFactory.java:42)] Creating instance of channel MemChannel type memory&lt;BR /&gt;2021-05-01 22:10:46,938 (conf-file-poller-0) [INFO - org.apache.flume.node.AbstractConfigurationProvider.loadChannels(AbstractConfigurationProvider.java:205)] Created channel MemChannel&lt;BR /&gt;2021-05-01 22:10:46,941 (conf-file-poller-0) [INFO - org.apache.flume.source.DefaultSourceFactory.create(DefaultSourceFactory.java:41)] Creating instance of source Twitter, type org.apache.flume.source.twitter.TwitterSource&lt;BR /&gt;2021-05-01 22:10:46,941 (conf-file-poller-0) [DEBUG - org.apache.flume.source.DefaultSourceFactory.getClass(DefaultSourceFactory.java:60)] Source type org.apache.flume.source.twitter.TwitterSource is a custom type&lt;BR /&gt;2021-05-01 22:10:47,531 (conf-file-poller-0) [ERROR - org.apache.flume.node.AbstractConfigurationProvider.loadSources(AbstractConfigurationProvider.java:355)] Source Twitter has been removed due to an error during configuration&lt;BR /&gt;java.lang.InstantiationException: Incompatible source and channel settings defined. source's batch size is greater than the channels transaction capacity. Source: Twitter, batch size = 1000, channel MemChannel, transaction capacity = 100&lt;BR /&gt;at org.apache.flume.node.AbstractConfigurationProvider.checkSourceChannelCompatibility(AbstractConfigurationProvider.java:386)&lt;BR /&gt;at org.apache.flume.node.AbstractConfigurationProvider.getSourceChannels(AbstractConfigurationProvider.java:367)&lt;BR /&gt;at org.apache.flume.node.AbstractConfigurationProvider.loadSources(AbstractConfigurationProvider.java:329)&lt;BR /&gt;at org.apache.flume.node.AbstractConfigurationProvider.getConfiguration(AbstractConfigurationProvider.java:105)&lt;BR /&gt;at org.apache.flume.node.PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.run(PollingPropertiesFileConfigurationProvider.java:145)&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)&lt;BR /&gt;at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)&lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)&lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:748)&lt;BR /&gt;2021-05-01 22:10:47,536 (conf-file-poller-0) [INFO - org.apache.flume.sink.DefaultSinkFactory.create(DefaultSinkFactory.java:42)] Creating instance of sink: HDFS, type: hdfs&lt;BR /&gt;2021-05-01 22:10:47,572 (conf-file-poller-0) [ERROR - org.apache.flume.node.AbstractConfigurationProvider.loadSinks(AbstractConfigurationProvider.java:469)] Sink HDFS has been removed due to an error during configuration&lt;BR /&gt;java.lang.InstantiationException: Incompatible sink and channel settings defined. sink's batch size is greater than the channels transaction capacity. Sink: HDFS, batch size = 1000, channel MemChannel, transaction capacity = 100&lt;BR /&gt;at org.apache.flume.node.AbstractConfigurationProvider.checkSinkChannelCompatibility(AbstractConfigurationProvider.java:403)&lt;BR /&gt;at org.apache.flume.node.AbstractConfigurationProvider.loadSinks(AbstractConfigurationProvider.java:462)&lt;BR /&gt;at org.apache.flume.node.AbstractConfigurationProvider.getConfiguration(AbstractConfigurationProvider.java:106)&lt;BR /&gt;at org.apache.flume.node.PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.run(PollingPropertiesFileConfigurationProvider.java:145)&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)&lt;BR /&gt;at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)&lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)&lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:748)&lt;BR /&gt;2021-05-01 22:10:47,576 (conf-file-poller-0) [WARN - org.apache.flume.node.AbstractConfigurationProvider.getConfiguration(AbstractConfigurationProvider.java:111)] Channel MemChannel has no components connected and has been removed.&lt;BR /&gt;2021-05-01 22:10:47,585 (conf-file-poller-0) [INFO - org.apache.flume.node.Application.startAllComponents(Application.java:162)] Starting new configuration:{ sourceRunners:{} sinkRunners:{} channels:{} }&lt;BR /&gt;^C2021-05-01 22:10:54,474 (agent-shutdown-hook) [INFO - org.apache.flume.node.Application.stopAllComponents(Application.java:125)] Shutting down configuration: { sourceRunners:{} sinkRunners:{} channels:{} }&lt;BR /&gt;2021-05-01 22:10:54,474 (agent-shutdown-hook) [INFO - org.apache.flume.lifecycle.LifecycleSupervisor.stop(LifecycleSupervisor.java:78)] Stopping lifecycle supervisor 11&lt;BR /&gt;2021-05-01 22:10:54,476 (agent-shutdown-hook) [INFO - org.apache.flume.node.PollingPropertiesFileConfigurationProvider.stop(PollingPropertiesFileConfigurationProvider.java:84)] Configuration provider stopping&lt;BR /&gt;2021-05-01 22:10:54,476 (agent-shutdown-hook) [DEBUG - org.apache.flume.node.PollingPropertiesFileConfigurationProvider.stop(PollingPropertiesFileConfigurationProvider.java:100)] Configuration provider stopped&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Here is my &lt;STRONG&gt;config file:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;# Naming the components on the current agent.&lt;/STRONG&gt;&lt;BR /&gt;TwitterAgent.sources = Twitter&lt;BR /&gt;TwitterAgent.channels = MemChannel&lt;BR /&gt;TwitterAgent.sinks = HDFS&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;# Describing/Configuring the source&lt;/STRONG&gt;&lt;BR /&gt;TwitterAgent.sources.Twitter.type = org.apache.flume.source.twitter.TwitterSource&lt;BR /&gt;TwitterAgent.sources.Twitter.consumerKey = siYrYq8bV8RypbQtDVTiMuqlf&lt;BR /&gt;TwitterAgent.sources.Twitter.consumerSecret = Ixf4SJTsp6E046G23cCjNl9R9lZWmhVx3imZvsEaRi8At87oT2&lt;BR /&gt;TwitterAgent.sources.Twitter.accessToken = 789075063396065280-KF2Apacwr7QSjzE8RdoorE0S23yEDas&lt;BR /&gt;TwitterAgent.sources.Twitter.accessTokenSecret = 4ZlTgHpzoJHziZW4Eutfd25EibcQrz9V6V66lMc1z8cwa&lt;BR /&gt;TwitterAgent.sources.Twitter.keywords = tutorials,bigdata&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;# Describing/Configuring the sink&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;TwitterAgent.sinks.HDFS.type = hdfs&lt;BR /&gt;TwitterAgent.sinks.HDFS.hdfs.path = hdfs://localhost:9000/Hadoop/twitter_data/&lt;BR /&gt;TwitterAgent.sinks.HDFS.hdfs.fileType = DataStream&lt;BR /&gt;TwitterAgent.sinks.HDFS.hdfs.writeFormat = Text&lt;BR /&gt;TwitterAgent.sinks.HDFS.hdfs.batchSize = 1000&lt;BR /&gt;TwitterAgent.sinks.HDFS.hdfs.rollSize = 0&lt;BR /&gt;TwitterAgent.sinks.HDFS.hdfs.rollCount = 10000&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;# Describing/Configuring the channel&lt;/STRONG&gt;&lt;BR /&gt;TwitterAgent.channels.MemChannel.type = memory&lt;BR /&gt;TwitterAgent.channels.MemChannel.capacity = 10000&lt;BR /&gt;TwitterAgent.channels.MemChannel.transactionCapacity = 100&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;# Binding the source and sink to the channel&lt;/STRONG&gt;&lt;BR /&gt;TwitterAgent.sources.Twitter.channels = MemChannel&lt;BR /&gt;TwitterAgent.sinks.HDFS.channel = MemChannel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 01 May 2021 16:53:12 GMT</pubDate>
    <dc:creator>vyoma123</dc:creator>
    <dc:date>2021-05-01T16:53:12Z</dc:date>
  </channel>
</rss>

