Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # dev >> [VOTE] Release Apache Flume version 1.3.0


Copy link to this message
-
Re: [VOTE] Release Apache Flume version 1.3.0 rc5
Multiport syslog tcp source problem ..

Here is the config I am using...

agent1.channels = memoryChannel
agent1.channels.memoryChannel.type = memory

agent1.sources = src0
agent1.sources.src0.type = multiport_syslogtcp
# agent1.sources.src0.type org.apache.flume.source.MultiportSyslogTCPSource
agent1.sources.src0.channels = memoryChannel
agent1.sources.src0.host = localhost
agent1.sources.src0.ports = 10001 10002 10003
agent1.sources.src0.portHeader = port

agent1.sinks = fileRoll
agent1.sinks.fileRoll.type = file_roll
agent1.sinks.fileRoll.channel = memoryChannel
agent1.sinks.fileRoll.sink.directory = output
agent1.sinks.fileRoll.sink.rollInterval = -1
Here is the error...

2/11/27 19:46:24 INFO conf.FlumeConfiguration: Processing:fileRoll
12/11/27 19:46:24 INFO conf.FlumeConfiguration: Processing:fileRoll
12/11/27 19:46:24 INFO conf.FlumeConfiguration: Processing:fileRoll
12/11/27 19:46:24 INFO conf.FlumeConfiguration: Processing:fileRoll
12/11/27 19:46:24 INFO conf.FlumeConfiguration: Added sinks: fileRoll
Agent: agent1
*12/11/27 19:46:24 WARN conf.FlumeConfiguration: Removed src0 due to Could
not create configuration!*
12/11/27 19:46:24 INFO conf.FlumeConfiguration: Post-validation flume
configuration contains configuration  for agents: [agent1]
12/11/27 19:46:24 INFO properties.PropertiesFileConfigurationProvider:
Creating channels
12/11/27 19:46:24 INFO properties.PropertiesFileConfigurationProvider:
created channel memoryChannel
12/11/27 19:46:24 INFO sink.DefaultSinkFactory: Creating instance of sink:
fileRoll, type: file_roll
12/11/27 19:46:24 INFO nodemanager.DefaultLogicalNodeManager: Starting new
configuration:{ sourceRunners:{} sinkRunners:{fileRoll=SinkRunner: {
policy:org.apache.flume.sink.DefaultSinkProcessor@44a613f8 counterGroup:{
name:null counters:{} } }}
channels:{memoryChannel=org.apache.flume.channel.MemoryChannel{name:
memoryChannel}} }