Flume
  1. Flume
  2. FLUME-862

AvroSource breaks when config properties changes different service

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: NG alpha 2
    • Fix Version/s: v1.2.0
    • Component/s: Sinks+Sources
    • Labels:
      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.

      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

          Hide
          Hari Shreedharan added a comment -

          This issue has been fixed with commit #1304637 for FLUME-1036.Verified that reloading configuration works with the update.

          Show
          Hari Shreedharan added a comment - This issue has been fixed with commit #1304637 for FLUME-1036 .Verified that reloading configuration works with the update.

            People

            • Assignee:
              Hari Shreedharan
              Reporter:
              Jarek Jarcec Cecho
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development