<?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: multiple sources of flume agent in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/31792#M7294</link>
    <description>&lt;P&gt;Hi Harish,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see modified .conf:&lt;/P&gt;&lt;P&gt;# example.conf: A single-node Flume configuration&lt;/P&gt;&lt;P&gt;# Name the components on this agent&lt;BR /&gt;a1.sources = r1 r2&lt;BR /&gt;a1.sinks = k1 k2&lt;BR /&gt;a1.channels = c1 c2&lt;/P&gt;&lt;P&gt;# Describe/configure the source r1&lt;BR /&gt;a1.sources.r1.type = exec&lt;BR /&gt;a1.sources.r1.command = tail -F /home/hadoop/hadoop-2.7.1/logs/yarn-hadoop-resourcemanager-sri.test.com.log&lt;BR /&gt;a1.sources.r1.channels = c1&lt;/P&gt;&lt;P&gt;# Describe/configure the source r2&lt;BR /&gt;a1.sources.r2.type = exec&lt;BR /&gt;a1.sources.r2.command = tail -F /var/log/messages&lt;BR /&gt;a1.sources.r2.channels = c2&lt;/P&gt;&lt;P&gt;# Describe the sink&lt;BR /&gt;a1.sinks.k1.type = logger&lt;BR /&gt;a1.sinks.k2.type = logger&lt;/P&gt;&lt;P&gt;# Use a channel which buffers events in memory&lt;BR /&gt;a1.channels.c1.type = memory&lt;BR /&gt;a1.channels.c1.capacity = 1000&lt;BR /&gt;a1.channels.c1.transactionCapacity = 100&lt;/P&gt;&lt;P&gt;# Use a channel which buffers events in memory&lt;BR /&gt;a1.channels.c2.type = memory&lt;BR /&gt;a1.channels.c2.capacity = 1000&lt;BR /&gt;a1.channels.c2.transactionCapacity = 100&lt;/P&gt;&lt;P&gt;# Bind the source and sink to the channel&lt;BR /&gt;a1.sources.r1.channels = c1&lt;BR /&gt;a1.sources.r2.channels = c2&lt;BR /&gt;a1.sinks.k1.channel = c1&lt;BR /&gt;a1.sinks.k2.channel = c2&lt;/P&gt;&lt;P&gt;# Define a sink that outputs to hdfs dir.&lt;BR /&gt;a1.sink.k1.type = hdfs&lt;BR /&gt;a1.sink.k1.hdfs.path = /yarn&lt;BR /&gt;a1.sink.k1.fileType = TEXT&lt;/P&gt;&lt;P&gt;# Define a sink that outputs to hdfs dir.&lt;BR /&gt;a1.sink.k2.type = hdfs&lt;BR /&gt;a1.sink.k2.hdfs.path = /yarn/test&lt;BR /&gt;a1.sink.k2.fileType = TEXT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see log file:&lt;/P&gt;&lt;P&gt;15/09/14 12:08:34 INFO node.PollingPropertiesFileConfigurationProvider: Configuration provider starting&lt;BR /&gt;15/09/14 12:08:34 INFO node.PollingPropertiesFileConfigurationProvider: Reloading configuration file:/home/hadoop/flume-1.6.0/conf/yarn.conf&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Invalid property specified: sink.k2.hdfs.path&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Configuration property ignored: a1.sink.k2.hdfs.path = /yarn/test&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Invalid property specified: sink.k2.fileType&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Configuration property ignored: a1.sink.k2.fileType = TEXT&lt;BR /&gt;15/09/14 12:08:34 INFO conf.FlumeConfiguration: Processing:k1&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Invalid property specified: sink.k1.type&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Configuration property ignored: a1.sink.k1.type = hdfs&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Invalid property specified: sink.k1.fileType&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Configuration property ignored: a1.sink.k1.fileType = TEXT&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Invalid property specified: sink.k1.hdfs.path&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Configuration property ignored: a1.sink.k1.hdfs.path = /yarn&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Invalid property specified: sink.k2.type&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Configuration property ignored: a1.sink.k2.type = hdfs&lt;BR /&gt;15/09/14 12:08:34 INFO conf.FlumeConfiguration: Processing:k2&lt;BR /&gt;15/09/14 12:08:34 INFO conf.FlumeConfiguration: Added sinks: k1 k2 Agent: a1&lt;BR /&gt;15/09/14 12:08:34 INFO conf.FlumeConfiguration: Processing:k1&lt;BR /&gt;15/09/14 12:08:34 INFO conf.FlumeConfiguration: Processing:k2&lt;BR /&gt;15/09/14 12:08:34 INFO conf.FlumeConfiguration: Post-validation flume configuration contains configuration for agents: [a1]&lt;BR /&gt;15/09/14 12:08:34 INFO node.AbstractConfigurationProvider: Creating channels&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest any modification is requird for .conf file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Sep 2015 07:03:40 GMT</pubDate>
    <dc:creator>sridharm</dc:creator>
    <dc:date>2015-09-14T07:03:40Z</dc:date>
    <item>
      <title>multiple sources of flume agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/31785#M7291</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to put log info from system,hadoop logs in hdfs in same machine&lt;/P&gt;&lt;P&gt;Do we specify multiple sources of flume agent in same machine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sample conf file i created is :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# list the sources, sinks and channels in the agent&lt;BR /&gt;agent_foo.sources = avro-AppSrv-source1 exec-tail-source2&lt;BR /&gt;agent_foo.sinks = hdfs-Cluster1-sink1 avro-forward-sink2&lt;BR /&gt;agent_foo.channels = mem-channel-1 mem-channel-2&lt;/P&gt;&lt;P&gt;# flow #1 configuration&lt;BR /&gt;agent_foo.sources.avro-AppSrv-source1.channels = mem-channel-1&lt;BR /&gt;agent_foo.sources.avro-collection-source1.type = memory&lt;BR /&gt;agent_foo.sources.avro-collection-source1.command = tail -F /home/hadoop/hadoop-2.7.1/logs/yarn-hadoop-resourcemanager-sri.test.com.log&lt;/P&gt;&lt;P&gt;# flow #2 configuration&lt;BR /&gt;agent_foo.sources.exec-tail-source2.channels = mem-channel-2&lt;BR /&gt;agent_foo.sources.exec-tail-source2.type = memory&lt;BR /&gt;agent_foo.sources.exec-tail-source2.command = tail -F /var/log/messages&lt;/P&gt;&lt;P&gt;# Define a sink that outputs to hdfs dir.&lt;BR /&gt;agent_foo.sources.hdfs-sink.channel = mem-channel-1 mem-channel-2&lt;BR /&gt;agent_foo.sources.hdfs-sink.type = hdfs&lt;BR /&gt;agent_foo.sources.hdfs-sink.hdfs.path = /yarn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not working for me.Flume agent is struck with these:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;15/09/14 11:08:07 INFO conf.FlumeConfiguration: Added sinks: hdfs-Cluster1-sink1 avro-forward-sink2 Agent: agent_foo&lt;BR /&gt;15/09/14 11:08:07 WARN conf.FlumeConfiguration: Agent configuration for 'agent_foo' does not contain any valid channels. Marking it as invalid.&lt;BR /&gt;15/09/14 11:08:07 WARN conf.FlumeConfiguration: Agent configuration invalid for agent 'agent_foo'. It will be removed.&lt;BR /&gt;15/09/14 11:08:07 INFO conf.FlumeConfiguration: Post-validation flume configuration contains configuration for agents: []&lt;BR /&gt;15/09/14 11:08:07 WARN node.AbstractConfigurationProvider: No configuration found for this host:agent&lt;BR /&gt;15/09/14 11:08:07 INFO node.Application: Starting new configuration:{ sourceRunners:{} sinkRunners:{} channels:{} }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest a solution. ...Sri&lt;BR /&gt;&lt;BR /&gt;agent_foo.sources.hdfs-sink.hdfs.fileType = TEXT&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:40:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/31785#M7291</guid>
      <dc:creator>sridharm</dc:creator>
      <dc:date>2022-09-16T09:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: multiple sources of flume agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/31787#M7292</link>
      <description>Yes, you can have multiple sources tied to a config name, but what you are&lt;BR /&gt;really missing is as the log says, a channel configuration. Please&lt;BR /&gt;configure a channel per&lt;BR /&gt;&lt;A href="http://archive.cloudera.com/cdh5/cdh/5/flume-ng/FlumeUserGuide.html#a-simple-example" target="_blank"&gt;http://archive.cloudera.com/cdh5/cdh/5/flume-ng/FlumeUserGuide.html#a-simple-example&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; 15/09/14 11:08:07 WARN conf.FlumeConfiguration: Agent configuration for&lt;BR /&gt;'agent_foo' does not contain any valid channels. Marking it as invalid.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Sep 2015 06:01:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/31787#M7292</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-09-14T06:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: multiple sources of flume agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/31788#M7293</link>
      <description>&lt;P&gt;Harish,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw the url you (am using same) suggested.Can you make sample .conf where we can use multiple sources and multiple channels and multple sinks in same host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2015 06:18:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/31788#M7293</guid>
      <dc:creator>sridharm</dc:creator>
      <dc:date>2015-09-14T06:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: multiple sources of flume agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/31792#M7294</link>
      <description>&lt;P&gt;Hi Harish,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see modified .conf:&lt;/P&gt;&lt;P&gt;# example.conf: A single-node Flume configuration&lt;/P&gt;&lt;P&gt;# Name the components on this agent&lt;BR /&gt;a1.sources = r1 r2&lt;BR /&gt;a1.sinks = k1 k2&lt;BR /&gt;a1.channels = c1 c2&lt;/P&gt;&lt;P&gt;# Describe/configure the source r1&lt;BR /&gt;a1.sources.r1.type = exec&lt;BR /&gt;a1.sources.r1.command = tail -F /home/hadoop/hadoop-2.7.1/logs/yarn-hadoop-resourcemanager-sri.test.com.log&lt;BR /&gt;a1.sources.r1.channels = c1&lt;/P&gt;&lt;P&gt;# Describe/configure the source r2&lt;BR /&gt;a1.sources.r2.type = exec&lt;BR /&gt;a1.sources.r2.command = tail -F /var/log/messages&lt;BR /&gt;a1.sources.r2.channels = c2&lt;/P&gt;&lt;P&gt;# Describe the sink&lt;BR /&gt;a1.sinks.k1.type = logger&lt;BR /&gt;a1.sinks.k2.type = logger&lt;/P&gt;&lt;P&gt;# Use a channel which buffers events in memory&lt;BR /&gt;a1.channels.c1.type = memory&lt;BR /&gt;a1.channels.c1.capacity = 1000&lt;BR /&gt;a1.channels.c1.transactionCapacity = 100&lt;/P&gt;&lt;P&gt;# Use a channel which buffers events in memory&lt;BR /&gt;a1.channels.c2.type = memory&lt;BR /&gt;a1.channels.c2.capacity = 1000&lt;BR /&gt;a1.channels.c2.transactionCapacity = 100&lt;/P&gt;&lt;P&gt;# Bind the source and sink to the channel&lt;BR /&gt;a1.sources.r1.channels = c1&lt;BR /&gt;a1.sources.r2.channels = c2&lt;BR /&gt;a1.sinks.k1.channel = c1&lt;BR /&gt;a1.sinks.k2.channel = c2&lt;/P&gt;&lt;P&gt;# Define a sink that outputs to hdfs dir.&lt;BR /&gt;a1.sink.k1.type = hdfs&lt;BR /&gt;a1.sink.k1.hdfs.path = /yarn&lt;BR /&gt;a1.sink.k1.fileType = TEXT&lt;/P&gt;&lt;P&gt;# Define a sink that outputs to hdfs dir.&lt;BR /&gt;a1.sink.k2.type = hdfs&lt;BR /&gt;a1.sink.k2.hdfs.path = /yarn/test&lt;BR /&gt;a1.sink.k2.fileType = TEXT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see log file:&lt;/P&gt;&lt;P&gt;15/09/14 12:08:34 INFO node.PollingPropertiesFileConfigurationProvider: Configuration provider starting&lt;BR /&gt;15/09/14 12:08:34 INFO node.PollingPropertiesFileConfigurationProvider: Reloading configuration file:/home/hadoop/flume-1.6.0/conf/yarn.conf&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Invalid property specified: sink.k2.hdfs.path&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Configuration property ignored: a1.sink.k2.hdfs.path = /yarn/test&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Invalid property specified: sink.k2.fileType&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Configuration property ignored: a1.sink.k2.fileType = TEXT&lt;BR /&gt;15/09/14 12:08:34 INFO conf.FlumeConfiguration: Processing:k1&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Invalid property specified: sink.k1.type&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Configuration property ignored: a1.sink.k1.type = hdfs&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Invalid property specified: sink.k1.fileType&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Configuration property ignored: a1.sink.k1.fileType = TEXT&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Invalid property specified: sink.k1.hdfs.path&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Configuration property ignored: a1.sink.k1.hdfs.path = /yarn&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Invalid property specified: sink.k2.type&lt;BR /&gt;15/09/14 12:08:34 WARN conf.FlumeConfiguration: Configuration property ignored: a1.sink.k2.type = hdfs&lt;BR /&gt;15/09/14 12:08:34 INFO conf.FlumeConfiguration: Processing:k2&lt;BR /&gt;15/09/14 12:08:34 INFO conf.FlumeConfiguration: Added sinks: k1 k2 Agent: a1&lt;BR /&gt;15/09/14 12:08:34 INFO conf.FlumeConfiguration: Processing:k1&lt;BR /&gt;15/09/14 12:08:34 INFO conf.FlumeConfiguration: Processing:k2&lt;BR /&gt;15/09/14 12:08:34 INFO conf.FlumeConfiguration: Post-validation flume configuration contains configuration for agents: [a1]&lt;BR /&gt;15/09/14 12:08:34 INFO node.AbstractConfigurationProvider: Creating channels&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest any modification is requird for .conf file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2015 07:03:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/31792#M7294</guid>
      <dc:creator>sridharm</dc:creator>
      <dc:date>2015-09-14T07:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: multiple sources of flume agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/31794#M7295</link>
      <description>&lt;P&gt;Hi Harish,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We cleared all things and sink is working now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2015 07:32:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/31794#M7295</guid>
      <dc:creator>sridharm</dc:creator>
      <dc:date>2015-09-14T07:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: multiple sources of flume agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/45994#M7296</link>
      <description>&lt;P&gt;Can you please explain what steps you followed to resove this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pulkit&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 10:50:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/45994#M7296</guid>
      <dc:creator>PulkitBansal</dc:creator>
      <dc:date>2016-10-06T10:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: multiple sources of flume agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/45995#M7297</link>
      <description>&lt;P&gt;Nevermind, i got the issue in my config file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 11:23:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/45995#M7297</guid>
      <dc:creator>PulkitBansal</dc:creator>
      <dc:date>2016-10-06T11:23:30Z</dc:date>
    </item>
    <item>
      <title>i am also having this error please let me know the solution</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/52081#M7298</link>
      <description>&lt;P&gt;17/03/11 23:35:34 INFO node.PollingPropertiesFileConfigurationProvider: Configuration provider starting&lt;BR /&gt;17/03/11 23:35:34 INFO node.PollingPropertiesFileConfigurationProvider: Reloading configuration file:flume-agent.properties&lt;BR /&gt;17/03/11 23:35:34 INFO conf.FlumeConfiguration: Processing:agent-sink&lt;BR /&gt;17/03/11 23:35:34 INFO conf.FlumeConfiguration: Processing:agent-sink&lt;BR /&gt;17/03/11 23:35:34 INFO conf.FlumeConfiguration: Processing:agent-sink&lt;BR /&gt;17/03/11 23:35:34 INFO conf.FlumeConfiguration: Processing:agent-sink&lt;BR /&gt;17/03/11 23:35:34 INFO conf.FlumeConfiguration: Added sinks: agent-sink Agent: agent&lt;BR /&gt;17/03/11 23:35:34 INFO conf.FlumeConfiguration: Processing:agent-sink&lt;BR /&gt;17/03/11 23:35:34 INFO conf.FlumeConfiguration: Processing:agent-sink&lt;BR /&gt;17/03/11 23:35:34 INFO conf.FlumeConfiguration: Processing:agent-sink&lt;BR /&gt;17/03/11 23:35:34 INFO conf.FlumeConfiguration: Processing:agent-sink&lt;BR /&gt;17/03/11 23:35:34 INFO conf.FlumeConfiguration: Processing:agent-sink&lt;BR /&gt;17/03/11 23:35:34 INFO conf.FlumeConfiguration: Processing:agent-sink&lt;BR /&gt;17/03/11 23:35:34 INFO conf.FlumeConfiguration: Processing:agent-sink&lt;BR /&gt;17/03/11 23:35:34 WARN conf.FlumeConfiguration: Could not configure sink agent-sink due to: No channel configured for sink: agent-sink&lt;BR /&gt;org.apache.flume.conf.ConfigurationException: No channel configured for sink: agent-sink&lt;BR /&gt;at org.apache.flume.conf.sink.SinkConfiguration.configure(SinkConfiguration.java:51)&lt;BR /&gt;at org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.validateSinks(FlumeConfiguration.java:681)&lt;BR /&gt;at org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.isValid(FlumeConfiguration.java:347)&lt;BR /&gt;at org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.access$000(FlumeConfiguration.java:213)&lt;BR /&gt;at org.apache.flume.conf.FlumeConfiguration.validateConfiguration(FlumeConfiguration.java:127)&lt;BR /&gt;at org.apache.flume.conf.FlumeConfiguration.&amp;lt;init&amp;gt;(FlumeConfiguration.java:109)&lt;BR /&gt;at org.apache.flume.node.PropertiesFileConfigurationProvider.getFlumeConfiguration(PropertiesFileConfigurationProvider.java:189)&lt;BR /&gt;at org.apache.flume.node.AbstractConfigurationProvider.getConfiguration(AbstractConfigurationProvider.java:89)&lt;BR /&gt;at org.apache.flume.node.PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.run(PollingPropertiesFileConfigurationProvider.java:140)&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)&lt;BR /&gt;at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)&lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)&lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:745)&lt;BR /&gt;17/03/11 23:35:34 INFO conf.FlumeConfiguration: Post-validation flume configuration contains configuration for agents: [agent]&lt;BR /&gt;17/03/11 23:35:34 INFO node.AbstractConfigurationProvider: Creating channels&lt;BR /&gt;17/03/11 23:35:34 INFO channel.DefaultChannelFactory: Creating instance of channel agent-chan type memory&lt;BR /&gt;17/03/11 23:35:34 INFO node.AbstractConfigurationProvider: Created channel agent-chan&lt;BR /&gt;17/03/11 23:35:34 INFO source.DefaultSourceFactory: Creating instance of source agent-src, type spooldir&lt;BR /&gt;17/03/11 23:35:34 ERROR node.AbstractConfigurationProvider: Source agent-src has been removed due to an error during configuration&lt;BR /&gt;java.lang.IllegalStateException: Configuration must specify a spooling directory&lt;BR /&gt;at com.google.common.base.Preconditions.checkState(Preconditions.java:145)&lt;BR /&gt;at org.apache.flume.source.SpoolDirectorySource.configure(SpoolDirectorySource.java:140)&lt;BR /&gt;at org.apache.flume.conf.Configurables.configure(Configurables.java:41)&lt;BR /&gt;at org.apache.flume.node.AbstractConfigurationProvider.loadSources(AbstractConfigurationProvider.java:326)&lt;BR /&gt;at org.apache.flume.node.AbstractConfigurationProvider.getConfiguration(AbstractConfigurationProvider.java:97)&lt;BR /&gt;at org.apache.flume.node.PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.run(PollingPropertiesFileConfigurationProvider.java:140)&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)&lt;BR /&gt;at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)&lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)&lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:745)&lt;BR /&gt;17/03/11 23:35:34 WARN node.AbstractConfigurationProvider: Channel agent-chan has no components connected and has been removed.&lt;BR /&gt;17/03/11 23:35:34 INFO node.Application: Starting new configuration:{ sourceRunners:{} sinkRunners:{} channels:{} }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i made the flume-agent.properties file as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;agent.sources = agent-src&lt;BR /&gt;agent.channels = agent-chan&lt;BR /&gt;agent.sinks = agent-sink&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;agent.sources.agent-src.type = spooldir&lt;/P&gt;&lt;P&gt;agent.sources.agent-src.spooldir = /home/cloudera/desktop/ingestionin&lt;/P&gt;&lt;P&gt;agent.sources.agent-src.fileheader = true&lt;/P&gt;&lt;P&gt;agent.sources.agent-src.channels = agent-chan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;agent.channels.agent-chan.type = memory&lt;/P&gt;&lt;P&gt;agent.channels.agent-chan.capacity = 10000000&lt;/P&gt;&lt;P&gt;agent.channels.agent-chan.transactioncapacity = 2000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;agent.sinks.agent-sink.channels = agent-chan&lt;/P&gt;&lt;P&gt;agent.sinks.agent-sink.type = hdfs&lt;/P&gt;&lt;P&gt;agent.sinks.agent-sink.writeformat = text&lt;/P&gt;&lt;P&gt;agent.sinks.agent-sink.hdfs.filetype = datastream&lt;/P&gt;&lt;P&gt;agent.sinks.agent-sink.hdfs.path = new/ingestionout&lt;/P&gt;&lt;P&gt;agent.sinks.agent-sink.hdfs.rollcount = 0&lt;/P&gt;&lt;P&gt;agent.sinks.agent-sink.hdfs.rollinterval = 0&lt;/P&gt;&lt;P&gt;agent.sinks.agent-sink.hdfs.rollsize = 0&lt;/P&gt;&lt;P&gt;agent.sinks.agent-sink.hdfs.idletimeout = 0&lt;/P&gt;&lt;P&gt;agent.sinks.agent-sink.hdfs.batchsize = 10000&lt;/P&gt;&lt;P&gt;agent.sinks.agent-sink.hdfs.fileprefix = events&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Mar 2017 07:55:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/52081#M7298</guid>
      <dc:creator>far</dc:creator>
      <dc:date>2017-03-12T07:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: i am also having this error please let me know the solution</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/52124#M7299</link>
      <description>&lt;P&gt;there is typo in the configuration .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;agent.sinks.agent-sink.&lt;STRONG&gt;channels&lt;/STRONG&gt; = agent-chan&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;agent.sinks.agent-sink.&lt;STRONG&gt;channel&lt;/STRONG&gt;&amp;nbsp;= agent-chan&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2017 17:39:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/52124#M7299</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-03-13T17:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: multiple sources of flume agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/54774#M7300</link>
      <description>&lt;P&gt;Hi Pukit,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please eloboarate what was the issue in your config file. I am facing the same issue and I have configured the flume.conf as given in this post.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 09:13:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/54774#M7300</guid>
      <dc:creator>ManojKumaur</dc:creator>
      <dc:date>2017-05-16T09:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: multiple sources of flume agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/61745#M7301</link>
      <description>Also some character case issue, you should follow flume official document to do configure.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://flume.apache.org/FlumeUserGuide.html#spooling-directory-source" target="_blank"&gt;http://flume.apache.org/FlumeUserGuide.html#spooling-directory-source&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2017 06:26:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-sources-of-flume-agent/m-p/61745#M7301</guid>
      <dc:creator>Harry</dc:creator>
      <dc:date>2017-11-13T06:26:27Z</dc:date>
    </item>
  </channel>
</rss>

