The same in trunk: 28 Nov 2012 10:21:32,055 INFO [conf-file-poller-0] (org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addProperty:912) - Added sinks: fileRoll Agent: agent1 28 Nov 2012 10:21:32,060 WARN [conf-file-poller-0] (org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.validateSources:571) - Removed src0 due to Could not create configuration!
Also when I use the class name - same error. Thanks, Alex On Nov 28, 2012, at 4:50 AM, Roshan Naik <[email protected]> wrote: > 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}} } -- Alexander Alten-Lorenz http://mapredit.blogspot.com German Hadoop LinkedIn Group: http://goo.gl/N8pCF
