Uploaded image for project: 'Kaa'
  1. Kaa
  2. KAA-639

Flume appender needs to retry the initialization process

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.1
    • Fix Version/s: 0.7.2
    • Component/s: Log appenders
    • Labels:
      None

      Description

      After user provision new flume appender, appender attempt to connect to the corresponding avro sink. If this sink is not available, Flume appender fails to initialize. All subsequent attempts to deliver logs will fail with error:
      WARN o.k.k.s.a.f.a.FlumeLogAppender - Flume client wasn't initialized. Invoke method init before

      This behavior is quite confusing and uncomfortable for users that setup both flume appender and sink at the same time. We need to implement logic that will try to reinitialize appender when new data from endpoint arrive.

      Workaround:
      Setup flume sink first.
      Force re-init of flume appender: change something in flume appender configuration or restart operations servers.
      The idea is to make sure that the destination flume sink is started before appender is configured.

        Attachments

          Activity

            People

            Assignee:
            obantysh Oleg Bantysh
            Reporter:
            ashvayka Andrew Shvayka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration