Log4j 2
  1. Log4j 2
  2. LOG4J2-300

Flume Appender Persistent Manager writer thread dies when Flume cannot connect to any agents

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta7
    • Fix Version/s: 2.0-beta8
    • Component/s: Flume Appender
    • Labels:
      None

      Description

      FlumePeristentManager's WriterThread catches the exception thrown from the Flume RPCClient and then breaks out of the while loop causing the thread to stop. However, it does not mark the thread as shut down so subsequent events will be added to the Berkeley DB database and the key will be added to the internal queue. Eventually the queue will grow and cause an OutOfMemoryError.

        Activity

        Hide
        Ralph Goers added a comment -

        Fixed in revision 1501611.

        Show
        Ralph Goers added a comment - Fixed in revision 1501611.

          People

          • Assignee:
            Ralph Goers
            Reporter:
            Ralph Goers
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development