Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-1743

Multiport syslog tcp source does not load (v1.3 rc5)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.3.0
    • 1.3.0
    • Sinks+Sources
    • None

    Description

      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 = 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}} }

      Attachments

        1. FLUME-1743.patch
          0.9 kB
          Hari Shreedharan

        Activity

          People

            hshreedharan Hari Shreedharan
            roshan_naik Roshan Naik
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: