Flume
  1. Flume
  2. FLUME-1164

Configure should be called after stopping all events.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: v1.1.0
    • Fix Version/s: v1.2.0
    • Component/s: Configuration
    • Labels:
      None

      Description

      After a reconfiguration event (config file is modified), the configure() method is called on the same component object (unless its name or type has changed in the config file). For example, changing the config file to add a new property or changing an existing property for source component instance r1 will cause the object's configure() method to be called again.

      We should consider whether this should be expected behavior, or if a reconfig event should result in instantiating new objects for all components specified in the config file.

      For reference, please see:
      FLUME-932
      FLUME-933
      FLUME-1036
      FLUME-1162

        Issue Links

          Activity

          Will McQueen created issue -
          Hari Shreedharan made changes -
          Field Original Value New Value
          Affects Version/s v1.1.0 [ 12319284 ]
          Affects Version/s v1.2.0 [ 12320243 ]
          Hari Shreedharan made changes -
          Link This issue relates to FLUME-1162 [ FLUME-1162 ]
          Hari Shreedharan made changes -
          Assignee Hari Shreedharan [ hshreedharan ]
          Hari Shreedharan made changes -
          Attachment FLUME-1164-rebased.patch [ 12526197 ]
          Hari Shreedharan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Arvind Prabhakar made changes -
          Summary Reconsider whether configure() should be called on the same component object after a reconfig event Configure should be called after stopping all events.
          Arvind Prabhakar made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Hari Shreedharan
              Reporter:
              Will McQueen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development