Flume
  1. Flume
  2. FLUME-1131

ChannelProcessor does not handle transactions appropriately

    Details

    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: v1.1.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      If an Exception is thrown in ChannelProcessor.processEvent whilst getting an exception, tx will be null and when rollback is called on tx, an NPE will be thrown.

      12/04/18 19:03:17 ERROR source.PollableSourceRunner: Unhandled exception, logging and sleeping for 5000ms
      java.lang.NullPointerException
      	at org.apache.flume.channel.ChannelProcessor.processEvent(ChannelProcessor.java:183)
      	at org.apache.flume.source.SequenceGeneratorSource.process(SequenceGeneratorSource.java:48)
      	at org.apache.flume.source.PollableSourceRunner$PollingRunner.run(PollableSourceRunner.java:131)
      	at java.lang.Thread.run(Thread.java:662)
      
      1. FLUME-1131-0.patch
        10 kB
        Brock Noland
      2. FLUME-1131-1.patch
        10 kB
        Brock Noland

        Issue Links

          Activity

            People

            • Assignee:
              Brock Noland
              Reporter:
              Brock Noland
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development