Log4j 2
  1. Log4j 2
  2. LOG4J2-198

log4j2 stops application from shutting down if the FlumeAppender is being used

    Details

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

      Description

      Steps to reproduce (use attached Maven project):

      1. Start your remote flume agent
      2. Run the Maven project and attach to it with the debugger in your favourite IDE (I use NetBeans)
      3. Quickly press x and hit Enter

      Notice how the application continues to run. Press x should break out of the main loop and return from main(), indicating that the application should close. The thread holding things up is named 'Avro NettyTransceiver I/O Worker 1' .

        Activity

        Hide
        offbynull added a comment -

        Attached Maven project required for repo steps.

        Show
        offbynull added a comment - Attached Maven project required for repo steps.
        Hide
        Ralph Goers added a comment -

        Fixed in revision 1468306 by changing FlumeAvroManager to use Flume's RPCClient. Please verify and close.

        Show
        Ralph Goers added a comment - Fixed in revision 1468306 by changing FlumeAvroManager to use Flume's RPCClient. Please verify and close.
        Hide
        Edward Sargisson added a comment -

        Verified - can be closed.

        Show
        Edward Sargisson added a comment - Verified - can be closed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development