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

AvroSource breaks when config properties changes different service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • NG alpha 2
    • 1.2.0
    • Sinks+Sources
    • None

    Description

      I've noticed that AvroSource will break if I change something else in configuration properties after flume-ng will reload that file.

      Steps to reproduce the issue:
      1) Start flume-ng
      2) Change the configuration properties file
      3) Wait to automatic reload of that file
      4) After realod AvroSource becomes unavailable:
      2011-11-25 02:39:37,380 (lifecycleSupervisor-1-3) [ERROR - org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:210)] Unable to start EventDrivenSourceRunner: { source:AvroSource:

      { bindAddress:0.0.0.0 port:41414 }

      } - Exception follows.
      org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:41414
      (details can be found in attached log file)

      The exception is occurs in the logs every couple of seconds and it seems that no input data are accepted by the AvroSource. Restart of the process will solve the issue. I've attached the log and both original and changed config file that I've used.

      Attachments

        1. hddev02.properties.new
          0.6 kB
          Jarek Jarcec Cecho
        2. hddev02.properties
          0.6 kB
          Jarek Jarcec Cecho
        3. hddev02.log
          1.86 MB
          Jarek Jarcec Cecho

        Issue Links

          Activity

            People

              hshreedharan Hari Shreedharan
              jarcec Jarek Jarcec Cecho
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: